hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square16fedilinkarrow-up1268arrow-down116
arrow-up1252arrow-down1image"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 months agomessage-square16fedilink
minus-squareRVGamer06@sh.itjust.workslinkfedilinkarrow-up11·2 months agoHas someone made a library for that?
minus-squarehydroptic@sopuli.xyzOPlinkfedilinkarrow-up38·2 months agoUse a dynamically typed language and you won’t have to: just override the default reverse() method on strings like a Real Programmer! Unintended consequences you say? Nonsense! What could possibly go wrong?
Has someone made a library for that?
Use a dynamically typed language and you won’t have to: just override the default
reverse()
method on strings like a Real Programmer!Unintended consequences you say? Nonsense! What could possibly go wrong?
Lua could possibly do this