Why semicolon insertion is designed?

2013-04-27 Thread BelleveInvis
I'm wondering that why semicolon insertion is designed and made it anti-intuitive? To provide Java-style syntax compatibility? ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es

Re: Why semicolon insertion is designed?

2013-04-27 Thread David Bruant
Le 27/04/2013 11:10, BelleveInvis a écrit : I'm wondering that why semicolon insertion is designed and made it anti-intuitive? Automatic Semicolon Insertion (ASI) *was* designed a while ago and can't be changed whether we find it intuitive or not. More details at https://brendaneich.com/2012