News for hackers. Stuff that matters.
Re:Announcing CoffeeScript 2 by jdmichal on Monday September 18, 2017 @02:33PM (#15278317)
Omitting semicolons breaks the "delete a line in isolation" rule, unless you begin the line with a semicolon instead. Which is even noiser than just having them at the end of the line, where they are unconsciously glossed over by anyone who's ever worked in a language with C-derived syntax.
Re:Announcing CoffeeScript 2 by RussianCow on Monday September 18, 2017 @02:41PM (#15278374)
I hear this a lot, but in ~4 years writing JavaScript without semicolons, I've had to do this maybe two or three times. I just don't feel like starting a line with [ or ( is very common, to the point that it's a complete non-issue to me.
Re:Announcing CoffeeScript 2 by tga on Tuesday September 19, 2017 @01:01AM (#15281921)
In the majority of cases you can't "delete a line in isolation", because it's part of a program. You have to look around and understand what the impact of deleting that line will be -- and modify nearby lines as necessary.