Hacker News new | ask | show | jobs
by rayiner 4041 days ago
What gets me is that there are languages in 2015 that don't get lexical scoping right. It has been a solved problem for 40 years now.
1 comments

Saying that it's 2015 is a bit misleading. In JS's case, it's mostly a question of backwards compatibility and interactions with those backwards-compatible features.

The designers of let are largely a bunch of Schemers; they knew what they were doing.

I see why my post was confusing. Let me clarify: I was referring to languages like Coffeescript, not let in JS. Though JS got scoping wrong 20 years after it was a solved problem...