- cross-posted to:
- programmer_humor@programming.dev
- cross-posted to:
- programmer_humor@programming.dev
You must log in or # to comment.
Haskell:
=The language of the gods
Some Lisp dialects:
(λ () )your IDE is hiding 6 characters there
Some Lisps will accept a literal Unicode lambda character.
function() {}JavaScript can do better than that:
() => {}C++:
[](){}Huh, I haven’t looked at C++ in decades, and I didn’t know they’d added lambda functions/expressions, in C++11. Apparently you can shorten it further:
[]{}







