@[email protected] to Programmer [email protected] • 23 days ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square25fedilinkarrow-up1228arrow-down115cross-posted to: [email protected]
arrow-up1213arrow-down1image"☹️".reverse() == "🙂"sopuli.xyz@[email protected] to Programmer [email protected] • 23 days agomessage-square25fedilinkcross-posted to: [email protected]
minus-square@[email protected]OPlinkfedilink12•23 days agoCalling reverse() on a function should return its inverse
minus-square@[email protected]linkfedilink6•22 days agoisprime.reverse(True) // outputs 19 billion prime numbers. Checkmate, atheists.
minus-square@[email protected]linkfedilink2•22 days 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.
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.