DEV Community

Discussion on: What you need to know about Javascript's Automatic Semi-colon Insertion

Collapse
 
alainvanhout profile image
Alain Van Hout • Edited

The effort of typing is always a very small fraction of the real cost of any code (in anything beyond throw-away side-projects), so (the effort of) having write or not write semi-colons tends to be very very low on the priority scale.

The real question is here is: is code with or without semi-colons in some way noticably more performant (in a way that matters) or more maintainable over time and over developers. There, I think the addition of semi-colons in JavaScript wins.