hydroptic to Programmer Humor@programming.dev · 4 months ago"☹️".reverse() == "🙂"imagemessage-square22fedilinkarrow-up1316arrow-down117cross-posted to: programmerhumor@lemmy.ml
arrow-up1299arrow-down1image"☹️".reverse() == "🙂"hydroptic to Programmer Humor@programming.dev · 4 months agomessage-square22fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up5·4 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-squaren7gifmdn@lemmy.calinkfedilinkEnglisharrow-up2·4 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