Re:Show HN: Imba – I have spent 7 years creating a programmi...
by mstade on Tuesday August 17, 2021 @06:25AM
(#28208253)
My guess is the OP dislikes the difference in keyword length.
[ Parent
| on HN ]
Re:Show HN: Imba – I have spent 7 years creating a programmi...
by cgag on Tuesday August 17, 2021 @09:31AM
(#28209630)
I just always use let because it looks better. Const provides pretty much no value in js anyway.
Re:Show HN: Imba – I have spent 7 years creating a programmi...
by jsf01 on Tuesday August 17, 2021 @09:50AM
(#28209814)
It is useful for code readability. When you’re skimming and trying to understand a large chunk of code, if almost all the variables are declared with “const” and then you come across a “let”, you immediately know to look for where it will be mutated elsewhere.