3 ms·
> What does one want a "simple" Javascript language spec for and what can it do? To write proofs? You don't need to worry about the larger idiom of how the lan
by chrisseaton 11y ago
> What does one want a "simple" Javascript language spec for and what can it do?
To write proofs? You don't need to worry about the larger idiom of how the language is used for that.
And to write a correct implementation of a language you don't need anything except a correct simple spec. To perform well for idiomatic code you may need to know about idiom.
- qznc 11y ago> To perform well for idiomatic code you may need to know about idiom. To enforce idioms you include them in the language. This makes the language easier but less simple. It also means people will use exactly one idiom instead of lots of variants. This improves performance and makes it more predictable. To perform well for idiomatic code you must know about idiom and have consensus about it and teach it to everybody.