hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 10 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square16fedilinkarrow-up1268arrow-down116
arrow-up1252arrow-down1image"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@programming.dev · 10 months agomessage-square16fedilink
minus-squarehydroptic@sopuli.xyzOPlinkfedilinkarrow-up38·10 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?
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