Re: Is the dangling else a syntax bug?

ralph@inputplus.demon.co.uk (Ralph Corderoy)
6 Jul 2001 16:28:32 -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)
[15 later articles]
| List of all articles for this month |
From: ralph@inputplus.demon.co.uk (Ralph Corderoy)
Newsgroups: comp.compilers
Date: 6 Jul 2001 16:28:32 -0400
Organization: InputPlus Ltd.
References: 01-06-073 01-07-020 01-07-029
Keywords: syntax, design
Posted-Date: 06 Jul 2001 16:28:32 EDT

Hi Lasse,


I take your point.


> However, in natural languages, omitting a comma is rarely a cause for
> misunderstanding, whereas in programming languages it is almost
> always considered a syntactic error.


That reminds me of an example used in support of the `Oxford' comma.


        I'd like to thank my parents, Mother Theresa and God.


versus


        I'd like to thank my parents, Mother Theresa, and God.




Ralph.


Post a followup to this message

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