3 ms·
something else. More that `()`, `[]`, `{}`, and `,` in a lot of places in the language syntax were optional. And we embraced that... way too much. E.g. fo
by dgoldstein0 6y ago
something else. More that `()`, `[]`, `{}`, and `,` in a lot of places in the language syntax were optional. And we embraced that... way too much.
E.g.
foo: 1
bar: 2
is the same as
{
foo: 1,
bar: 2,
}
for basically no good reason. When you start combining a lot of these, whitespace takes extra significance, and in extreme cases can easily change what you think the meaning of your code is, and what it actually is.