hydroptic@sopuli.xyz to Programmer Humor@lemmy.ml · 1 month ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square22fedilinkarrow-up113arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up113arrow-down1image"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@lemmy.ml · 1 month agomessage-square22fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up0·edit-21 month agoAlso, it should turn an error into an empty but successful call. /s
minus-squarehydroptic@sopuli.xyzOPlinkfedilinkarrow-up0·1 month agoCalling reverse() on a function should return its inverse
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up1·1 month agoisprime.reverse(True) // outputs 19 billion prime numbers. Checkmate, atheists.
Also, it should turn an error into an empty but successful call. /s
Calling
reverse()
on a function should return its inverse