3 ms·
It's 2017, I'm not placing ; by hand anymore. We have computers they are perfectly able infer them for me. > Javascript's handling of semicolon is nuts, I wou
by simon_o 9y ago
It's 2017, I'm not placing ; by hand anymore.
We have computers they are perfectly able infer them for me.
> Javascript's handling of semicolon is nuts, I wouldn't say Rust's is.
- JavaScript does insane things, as usual. This doesn't mean every implementation of semicolon inference has to be that bad and broken.
- Rust goes the other way by pretending it's still 1990.
There are plenty of languages out there that handle semicolon inference perfectly fine.
(Heck, I even let the IDE show me where the compiler has placed them.)