Language like Javascript but without closures?

4 points by marktangotango ↗ HN
Does anyone know of such an animal?

6 comments

[ 2.8 ms ] story [ 23.9 ms ] thread
I'll ask the obvious question: why?

Closures are the natural result of allowing the dynamic creation of lambdas, which is pretty central to JS as a language. A language "like Javascript but without closures" would no longer be "like Javascript".

JavaScript goes from a mediocre language to nearly unusable without closures.
Yes, I should have specified javascript strict mode, with a namespace and or module system :) Hmm, getting quiet the requirements here.