r/javascript • u/kasperpeulen • Oct 24 '16
help The only thing I hate about const ...
... is that it is 5 chars long.
For some reason, let with its 3 chars, looks more elegant.
7
Upvotes
r/javascript • u/kasperpeulen • Oct 24 '16
... is that it is 5 chars long.
For some reason, let with its 3 chars, looks more elegant.
0
u/Bummykins Oct 25 '16
Totally! Also, its a much bigger chance to spell it wrong. Today, after I misspelled it 3 times in a row, I thought very hard about making a shortcut for c+tab -> const. Maybe tomorrow.