I've read the articles and that video you linked and those few little instances are the exact reason to enforce the semicolons.
I don't want to have to remember where I do need to use them, and don't want to live in fear that our juniors make a mistake remembering these rules, so no thinking necessary, always use semis.
Also, it gets confusing when mixing different languages.
Don't get me wrong I think a PSR like codestyle for JS would be great, but not with these rules unfortunately.
Also, it gets confusing when mixing different languages.
What is exactly your point? There are several programming languages (Elixir, Erlang, Go, any LISP, Nim, Ruby, Crystal, Python, Lua, Swift to name a few) that don't use semicolons as statement terminators or make them optional. Syntax is always trivial, and if your "juniors" are making mistakes because of it, maybe it is better to send them back to school.
14
u/PolarZoe Sep 12 '16
"Don't use ;", noped the fuck out.