See http://www.mail-archive.com/es-discuss@mozilla.org/msg05609.html and earlier posts in that thread, for where
no asi; as a Harmony pragma was tossed out as possible syntax. The agreement we seemed to reach was simply to have a way for programmers to disable ASI, not try a complex new-ASI plus "voting" (new and old must agree for a Harmony program to pass). /be On Apr 17, 2011, at 9:48 PM, Garrett Smith wrote: > On 4/17/11, Mike Ratcliffe <mratcli...@mozilla.com> wrote: >> I remember going over a few hundred thousand lines of JavaScript and adding >> semicolons because I had decided to minify it. I also remember that for >> months I was receiving bug reports from sections of code where I had missed >> the semicolons. >> >> Now I am obsessed with adding semicolons everywhere that they should go. >> > ASI changes program behavior. > > Worthy (IMBO) reads on Jim's fickle server: > http://jibbering.com/faq/notes/code-guidelines/#asi > http://jibbering.com/faq/notes/code-guidelines/asi.html > > There are plenty of beginners who haven't experienced those problems > (see SO for details). > >> Personally I would welcome some kind of option to disable ASI with open >> arms. Garrett's strict mode warning idea makes sense to me but I am fairly >> certain that not everybody would welcome it. > IIRC, it was Asen who first proposed that idea. COuldn't find the > actual post, but: > http://dmitrysoshnikov.com/ecmascript/the-quiz/#comment-8 > > It would also take some evangelism to explain to beginners who don't > see the problems. Again, see stackoverflow. > -- > Garrett > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss