Any headline which ends in a question mark can be answered by the word “no.”
– Betteridge’s law of headlines
Classes. Whoop-dee-freakin’-doo. Very hard to get excited about quadrupling down on a bad bet.
Default parameters. By itself, this is another “so what” feature. But default parameters
have an obnoxious side effect: They are not reflected in the function’s
This makes currying tricky indeed. With Ramda you
could hack around this infirmity by specifying arity when currying with
geez. C’mon, man.
let considered harmful
let is that it is not “hoisted” to the top of its block, as
var is with
its containing function. So if you:
you will get “ReferenceError: can’t access lexical declaration ‘x’ before initialization.”
This means that
typeof can now throw.
It’s like the
let keyword has inadvertently introduced a new kind of nil value to a
language that already has at least one too many.