hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years ago"☹️".reverse() == "🙂"message-squaremessage-square19fedilinkarrow-up1319arrow-down117
arrow-up1302arrow-down1message-square"☹️".reverse() == "🙂"hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years agomessage-square19fedilink
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up5·2 years 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-squaren7gifmdn@lemmy.calinkfedilinkEnglisharrow-up2·2 years agoTHANKS. I didn’t get the flag joke at first @[email protected]
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 @[email protected]