4 ms·
Ah, but are you not a fan because of the automatic semicolon insertion or because... well, JavaScript :P
by dudeman13 5y ago
Ah, but are you not a fan because of the automatic semicolon insertion or because... well, JavaScript :P
- junon 5y agoBecause it's a massive headache to debug code that has subtle bugs due to missing semi-colons.
- williamdclt 5y agoNever happened to me TBH. There's very few cases where the semicolon is actually significant, and when it happens my autoformatter produces garbage which makes it very obvious, or it adds the semicolon itself. That doesn't mean it never happens (most of us inherited a shitty codebase lacking things like code standards and autoformatting at some point), but I always find it strange that people keep talking about this thing I've never experienced in years writing JS professionally