Re:StandardJS just turned 10.0.0
by codedokode on Wednesday April 05, 2017 @07:56PM
(#14046797)
Because JS syntax is copied from Java that uses semicolons. Omitting semicolons makes code more ambigious and one has to remember where they can and where they cannot break a line.
JS is not a language like Ruby or Python.
If someone doesn't like typing semicolons why don't they set up their editor so that it would insert them automatically?
JS is not a language like Ruby or Python.
If someone doesn't like typing semicolons why don't they set up their editor so that it would insert them automatically?