Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: x === x Date: Sun, 04 Jun 2017 12:50:18 +0100 Organization: A noiseless patient Spider Lines: 28 Message-ID: <87k24snf9h.fsf@bsb.me.uk> References: <2872662.aeNJFYEL58@PointedEars.de> <87inkh28sf.fsf@bsb.me.uk> <19437984.EfDdHjke4D@PointedEars.de> <87efv4zr3k.fsf@bsb.me.uk> <2276977.Lt9SDvczpP@PointedEars.de> <87k24wy1pw.fsf@bsb.me.uk> <1496e413-37d6-4ff2-ba03-09d853438559@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="2a00c0c3923edbf784905cb8bfabf33e"; logging-data="25156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6R/cWesqVHv5W6ejCKlcPe+CGYLeTWto=" Cancel-Lock: sha1:lSJ/Z1py+tqifZA2CnsZVjMikmM= sha1:Vx4QUHI2uy7Ov2pmwHaFYxB7Xuc= X-BSB-Auth: 1.570b00788010bedb25ed.20170604125018BST.87k24snf9h.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:33499 ram@zedat.fu-berlin.de (Stefan Ram) writes: > ram@zedat.fu-berlin.de (Stefan Ram) writes: >>Brendan Eich still thinks today that this was a good idea. > > (automatic semicolon insertion) > > »But insisting on Java's class and type declarations, or > on a semicolon after each statement when a line ending > would do, was out of the question - scripting for most > people is about writing short snippets of code, quickly > and without fuss« > > Brendan Eich, 2001 I'm sure you are right, but the quote does not support the claim. It's in the past tense so in 2001 he thought it *was* the right thing to do. It's also a rather old quote in that the rules have since got more complicated. One can imagine (note: only imagine -- I doubt this is his opinion at all) an update to that quote: "scripting ... is about writing short snippets of code, quickly and without fuss" and the syntax that has since been added means that writing scripts without fuss is now much easier with explicit semicolons. -- Ben.