@hydroptic@sopuli.xyz to Programmer Humor@programming.dev • 7 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square22fedilinkarrow-up1322arrow-down117
arrow-up1305arrow-down1image"☹️".reverse() == "🙂"sopuli.xyz@hydroptic@sopuli.xyz to Programmer Humor@programming.dev • 7 months agomessage-square22fedilink
minus-squareladlinkfedilinkEnglish5•7 months agoNah, this could’ve been possible with some clever fuckery in defining those emojis’ unicode content, like with flags that are not a single point but three independent ones, allowing you to do this: "🇧🇬".reverse() == "🇬🇧" "🇬🇪".reverse() == "🇪🇬"
minus-square@n7gifmdn@lemmy.calinkfedilinkEnglish2•7 months agoTHANKS. I didn’t get the flag joke at first @sukhmel@programming.dev
Nah, this could’ve been possible with some clever fuckery in defining those emojis’ unicode content, like with flags that are not a single point but three independent ones, allowing you to do this:
"🇧🇬".reverse() == "🇬🇧" "🇬🇪".reverse() == "🇪🇬"
THANKS. I didn’t get the flag joke at first @sukhmel@programming.dev