Hacker News new | ask | show | jobs
by WorldMaker 3245 days ago
Going way back to ancient Lisps `let` has been the const declaration in a lot of programming languages. It's too bad ES2015 decided to use `let` for `var`/`val`, because `let` should have been const.

That said, I've come to terms with const, even if I find I accidentally use let sometimes from time spent in Lisp and F#.

1 comments

let is not a "const declaration" in most major dialects of Lisp, current and historic. In Scheme, Common Lisp, ISLisp, Emacs Lisp and others, it introduces mutable bindings.
Apologies, my Common Lisp is getting rusty.