hydroptic to Programmer Humor@lemmy.ml · 21 days ago"☹️".reverse() == "🙂"imagemessage-square29fedilinkarrow-up1226arrow-down114cross-posted to: programmer_humor@programming.dev
arrow-up1212arrow-down1image"☹️".reverse() == "🙂"hydroptic to Programmer Humor@lemmy.ml · 21 days agomessage-square29fedilinkcross-posted to: programmer_humor@programming.dev
minus-squaretmat256@lemmings.worldlinkfedilinkarrow-up2·21 days agoIt’s also incredibly useful as a failsafe in a helper method where you need the argument to be a string but someone might pass in something that is sort of a string. Lets you be a little more flexible in how your method gets called
It’s also incredibly useful as a failsafe in a helper method where you need the argument to be a string but someone might pass in something that is sort of a string. Lets you be a little more flexible in how your method gets called