@[email protected] to Programmer [email protected] • 8 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square30fedilinkarrow-up1232cross-posted to: [email protected]
arrow-up1232image"☹️".reverse() == "🙂"sopuli.xyz@[email protected] to Programmer [email protected] • 8 months agomessage-square30fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink15•edit-28 months agoAlso, it should turn an error into an empty but successful call. /s
minus-square@[email protected]OPlinkfedilink13•8 months agoCalling reverse() on a function should return its inverse
minus-square@[email protected]linkfedilink9•8 months agoisprime.reverse(True) // outputs 19 billion prime numbers. Checkmate, atheists.
minus-square@[email protected]linkfedilink2•8 months agoIt’s a just a joke, but I feel like that actually says something pretty profound about duck typing, and how computable it actually is.
Also, it should turn an error into an empty but successful call. /s
Calling
reverse()
on a function should return its inverseIt’s a just a joke, but I feel like that actually says something pretty profound about duck typing, and how computable it actually is.