minus-squaretmat256@lemmings.worldtoProgrammer Humor@lemmy.ml•`"☹️".reverse() == "🙂"`linkfedilinkarrow-up0·3 months 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 linkfedilink
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