News for hackers. Stuff that matters.
Re:Overview of JavaScript ES6 features by djur on Monday October 24, 2016 @11:27AM (#12779633)
It should have been "let"/"let mut", not "const"/"let" (or some other scheme that makes immutable bindings terser). I recall people warning of this outcome at the time of standardization.
Re:Overview of JavaScript ES6 features by ng12 on Monday October 24, 2016 @12:40PM (#12780420)
I don't think it's a terminology problem. In fact, "let" and "const" are probably the right terms. Both are descriptive and exist in other programming languages.
Re:Overview of JavaScript ES6 features by pitaj on Monday October 24, 2016 @01:42PM (#12781014)
`final` is a better term for real constants