You're viewing a single thread.
Who uses semicolons in Javascript?
8 0 ReplyProgrammers who care about best practices. Here are a couple of scenarios where not using a semicolon will bite you in the ass.
32 0 ReplyEvery real programmers
26 0 ReplyIn that sentence, we use "programmer" singular, because "every" is singular, though referring to many
All real programmers
Every real programmer
Each real programmer
No real programmer
It's pretty arbitrary
2 0 Reply
Old habits die hard. Learned JS, CSS and C++ all the same year about a decade ago.
6 0 ReplyPeople who like minimizing the amount of bug fixing.
5 0 ReplyI use prettier which by default adds semicolons. Coming from predominately doing backend stuff (mostly in Java) I don’t really mind, especially when the formatter adds them for me
3 0 ReplyThat's what I do too, but i don't manually add them
1 0 Reply