Re: Is the dangling else a syntax bug?

lars@bearnip.com (Lars Duening)
6 Jul 2001 16:32:08 -0400

          From comp.compilers

Related articles
Is the dangling else a syntax bug? vbdis@aol.com (2001-06-28)
Re: Is the dangling else a syntax bug? ralph@inputplus.demon.co.uk (2001-07-02)
Re: Is the dangling else a syntax bug? lhp+news@toft-hp.dk (2001-07-03)
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-03)
Re: Is the dangling else a syntax bug? ralph@inputplus.demon.co.uk (2001-07-06)
Re: Is the dangling else a syntax bug? ralph@inputplus.demon.co.uk (2001-07-06)
Re: Is the dangling else a syntax bug? gsc@zip.com.au (Sean Case) (2001-07-06)
Re: Is the dangling else a syntax bug? lars@bearnip.com (2001-07-06)
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-17)
Re: Is the dangling else a syntax bug? dynagen@eircom.net (Barry Kelly) (2001-07-17)
Re: Is the dangling else a syntax bug? david.thompson1@worldnet.att.net (David Thompson) (2001-07-17)
Re: Is the dangling else a syntax bug? genew@shuswap.net (2001-07-17)
Re: Is the dangling else a syntax bug? genew@shuswap.net (2001-07-17)
Re: Is the dangling else a syntax bug? toon@moene.indiv.nluug.nl (Toon Moene) (2001-07-18)
[12 later articles]
| List of all articles for this month |

From: lars@bearnip.com (Lars Duening)
Newsgroups: comp.compilers
Date: 6 Jul 2001 16:32:08 -0400
Organization: Compilers Central
References: 01-06-073 01-07-020 01-07-029
Keywords: design
Posted-Date: 06 Jul 2001 16:32:08 EDT

On 3 Jul 2001 23:14:30 -0400, our moderator commented:
> [I think I've seen stats that users get statement separators wrong more
> often than statement terminators, but I can't dig them up at the moment.
> -John]


The matter-of-factual proof of this point (and IIRC - it's been a while) would
probably be the Pascal family of languages, which started out using statement
separators in their pure form, but later added additional grammar rules (like
allowing two separators follow each other with no statement in between) which
effectively allow the use of the separators as if they are terminators. The
reason I remember reading was that with this change the language would be
easier to use.
--
Lars Duening; lars@bearnip.com
PGP Key: http://www.bearnip.com/lars/pgp-lars.asc


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.