- cross-posted to:
- programmer_humor@programming.dev
- cross-posted to:
- programmer_humor@programming.dev
You must log in or register to comment.
but
"🙂".reverse() == "🙃"
[🌽].pop() == 🍿
"🚴".push() = "🚲🤸"
Be the operator overload you wish to see in the world
Also, it should turn an error into an empty but successful call. /s
Calling
reverse()
on a function should return its inverseisprime.reverse(True) // outputs 19 billion prime numbers. Checkmate, atheists.
Then “b” backwards would have to be “d”
"E".reverse() == "∃"
“:-)”.reverse() == “)-:”
Close enough