|
|
|
|
|
by pepesza
3637 days ago
|
|
Just FYI. Brujo is close to being expert in Erlang. This post is a more of a "warning for juniors" than "damn, today I've discovered something new". And there is nothing really WAT about it. Just part of rather simple Erlang language grammar. |
|
If you'd dismiss the above, then I guess one could also argue that JavaScript returning an empty string on `[] + []` is also not a wat moment, but just part of the JavaScript grammar.
[0] http://kevincantu.org/code/operators.html
[1] http://www.tutorialspoint.com/python/operators_precedence_ex...