That example isn't very reasonable. Obviously, one would expect semicolons to be inserted after lines that form complete statements. It's not hard to ensure that intermediate lines don't do that. It's done for other languages that don't use semicolons.
Re:JavaScript Programming Patterns
by thegrossman on Tuesday October 06, 2009 @08:43AM
(#864001)
My mom always told me that I had a limited supply of semicolons in my semicolon bucket, and to not waste them on languages where they aren't strictly required.
Now, maybe she was just joshing me... but I'm not taking that chance.
Leaving them out leads to horrible ambiguity and potential issues. Up to you though :)
Re:JavaScript Programming Patterns
by thegrossman on Tuesday October 06, 2009 @09:27AM
(#864049)
I haven't had a single issue in the 6 months of daily Javascriptin' since I've stopped using them.
As I mentioned in another thread, I don't minify my application code so maybe it's not as important as it is for other people.
This sounds pretty dangerous to me. Crockford has this to say http://bit.ly/r9EZO about it.