News for hackers. Stuff that matters.
Re:Improving Programming Language Performance by MaxBarraclough on Sunday December 10, 2023 @06:22AM (#38590815)
Other way round. They're implementing a language of the LISP family, which tend to use let this way. LISP languages originated around 1960. The use of let then caught on in other languages, including OCaml and Haskell, and eventually JavaScript.

(It's possible some language other than LISP was the first to use let, but my suspicion is it was LISP.)

https://en.wikipedia.org/wiki/Lisp_(programming_language)

Re:Improving Programming Language Performance by lifthrasiir on Sunday December 10, 2023 @06:33AM (#38590855)
I'm specifically saying about `let` syntax in this particular language. LISP and related languages also have `let` with substantially different semantics, but it's evident that it wouldn't make much sense given current examples.