Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33483
| From | John G Harris <niam@jghnorth.org.uk.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: x === x |
| Date | 2017-06-01 18:54 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <n5l0jctntopf9dkqpvb95m91jdqcon45jb@4ax.com> (permalink) |
| References | (7 earlier) <2276977.Lt9SDvczpP@PointedEars.de> <87k24wy1pw.fsf@bsb.me.uk> <dab78138-0ac1-453d-b147-131b9892da04@googlegroups.com> <s4ovicpq2ied8sob9vgso7i68gdj1ar7pt@4ax.com> <1496e413-37d6-4ff2-ba03-09d853438559@googlegroups.com> |
On Thu, 1 Jun 2017 03:37:49 -0700 (PDT), Julio Di Egidio <julio@diegidio.name> wrote: >On Thursday, June 1, 2017 at 11:39:16 AM UTC+2, John G Harris wrote: >> On Thu, 1 Jun 2017 00:14:10 -0700 (PDT), Julio Di Egidio >> <julio@diegidio.name> wrote: >> >On Thursday, 1 June 2017 02:46:08 UTC+2, Ben Bacarisse wrote: >> > >> >> I am reasonably sure that ECMAScript syntax is not ambiguous (at least >> >> on this matter). >> > >> >You just don't know shit, certainly on this matter. >> >> The syntax specification is unambiguous > >It isn't: the most obvious example being the optionality of the semi-colon >to end statements, which makes some constructs indeed ambiguous. But this >is well known among the practitioners, hence best practices like "always >use the semi-colon", "never put a newline after a 'return'", and similar, >which indeed work around the (few) inconsistencies in the language. > >> if you include the parts of >> the specification that are outside the formal BNF notation. > >Eh? It seems I have to say it again : Some ignorant people think that if it isn't in BNF then it isn't a syntax rule. They are wrong. That's why the behaviour of newline after 'return' isn't an ambiguity. The rule for this case is clearly stated in the specification. Etc. Etc. John
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-30 14:34 +0100
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-30 15:02 +0100
Re: x === x Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-30 16:22 +0200
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-31 01:02 +0100
Re: x === x Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-31 12:39 +0200
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-31 21:52 +0100
Re: x === x Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-31 23:39 +0200
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-01 01:46 +0100
Re: x === x Julio Di Egidio <julio@diegidio.name> - 2017-06-01 00:14 -0700
Re: x === x John G Harris <niam@jghnorth.org.uk.invalid> - 2017-06-01 10:39 +0100
Re: x === x Julio Di Egidio <julio@diegidio.name> - 2017-06-01 03:37 -0700
Re: x === x John G Harris <niam@jghnorth.org.uk.invalid> - 2017-06-01 18:54 +0100
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-01 21:54 +0100
Re: x === x John G Harris <niam@jghnorth.org.uk.invalid> - 2017-06-02 11:06 +0100
Re: x === x John G Harris <niam@jghnorth.org.uk.invalid> - 2017-06-02 11:08 +0100
Re: x === x John G Harris <niam@jghnorth.org.uk.invalid> - 2017-06-02 10:56 +0100
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-04 12:50 +0100
Re: x === x John G Harris <niam@jghnorth.org.uk.invalid> - 2017-06-04 14:30 +0100
Re: x === x Dr J R Stockton <J.R.Stockton@physics.org> - 2017-06-04 09:03 -0700
Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-01 14:45 +0100
Re: x === x Julio Di Egidio <julio@diegidio.name> - 2017-06-01 07:00 -0700
Re: x === x Julio Di Egidio <julio@diegidio.name> - 2017-06-01 00:00 -0700
csiph-web