3 ms·
> The scope is clearly defined by the parentheses, though if you're not used to Lisp syntax that can be confusing at first. The scope is clearly not defined by
by aidenn0 3y ago
> The scope is clearly defined by the parentheses, though if you're not used to Lisp syntax that can be confusing at first.
The scope is clearly not defined by the parentheses, and I've been programming in Common Lisp for 25 years, so I'm pretty used to Lisp syntax.
A sibling comment suggests it comes from the JavaScript let (which did not exist when I learned JavaScript; it wasn't introduced until 1.7), which is scoped to the containing lexical block, rather than a block introduced by the let form itself.