3 ms·
This proposal really deserves the "kill it with fire" label. Adding new operators to do things that are already possible will only serve to make the language m
by xbdjdjfksmcf 10y ago
This proposal really deserves the "kill it with fire" label. Adding new operators to do things that are already possible will only serve to make the language more complicated and code written in JS more difficult to understand and maintain. JS's minimalism is its greatest strength.
- qwertyuiop924 10y ago"Minimalism." Right. Lua is minimal. Scheme is minimal. Forth is minimal. Hell, Brainfuck is minimal. JS isn't.
- yladiz 10y agoUsing that argument, you could say that every mathematical operation can boil down to addition and subtraction, because multiplication, exponentiation, and division are just flavors of those two operators. However, they're really convenient and I think that if an operator adds enough convenience it's worth the overhead of a new operator. You can argue that the new bind operator isn't so convenient compared to the .bind syntax, but your argument is a bit weak.