hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square18fedilinkarrow-up1299arrow-down117cross-posted to: programmerhumor@lemmy.ml
arrow-up1282arrow-down1image"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 months agomessage-square18fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarehydroptic@sopuli.xyzOPlinkfedilinkarrow-up42·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?
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