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.
1
u/Gravyness Oct 25 '16
Didn't know people worried about that too. One of the things I liked about
varis that you can type it with just your left hand.Although it is useful and intuitive, I dislike the use of
const, I'd rather just have it in the start of my code, usually forrequire()s.