DEV Community

loading...

Discussion on: Semicolons in JavaScript: To Use or Not to Use?

Collapse
elmuerte profile image
Michiel Hendriks

I think putting significance in things you cannot print is a mistake.

Programs must be written for people to read, and only incidentally for machines to execute. -- Abelson & Sussman

So it's always semicolons for me. Because then I'm clear that this is where I want the statement to end. For the same reason I do not use naked ifs.