News for hackers. Stuff that matters.
Re:Actual drawbacks to omitting semi-colons? by benjoffe on Wednesday October 06, 2010 @12:19AM (#1762691)
Well, the code isn't actually ambiguous (since the spec states well defined behaviour), just very easy to misinterpret.
Re:Actual drawbacks to omitting semi-colons? by jfarmer on Wednesday October 06, 2010 @01:46AM (#1762877)
Ambiguous to a human, vs. a compiler.
Re:Actual drawbacks to omitting semi-colons? by rtlechow on Wednesday October 06, 2010 @09:13AM (#1763749)
Ambiguous to a human who doesn't understand the rules of automatic semicolon insertion. Maybe such a human shouldn't be using javascript in the first place, instead of working in fear.
Re:Actual drawbacks to omitting semi-colons? by jfarmer on Wednesday October 06, 2010 @11:35AM (#1764357)
Human doesn't understand complex rule with counterintuitive corner case. Film at 11.