Re: Semicolons (Re: Low-Rent Syntax)

rhl@grendel.princeton.edu (Robert Lupton (the Good))
6 Sep 90 13:44:50 GMT

          From comp.compilers

Related articles
[9 earlier articles]
Re: Semicolons (Re: Low-Rent Syntax) firth@sei.cmu.edu (1990-09-05)
Re: Semicolons (Re: Low-Rent Syntax) lins@apple.com (Chuck Lins) (1990-09-05)
Re: Semicolons (Re: Low-Rent Syntax) rob@baloo.eng.ohio-state.edu (1990-09-05)
Re: Semicolons (Re: Low-Rent Syntax) MERRIMAN@ccavax.camb.com (George Merriman -- CCA/NY) (1990-09-05)
Re: Semicolons (Re: Low-Rent Syntax) dik@cwi.nl (1990-09-06)
Re: Semicolons (Re: Low-Rent Syntax) dolf@idca.tds.philips.nl (Dolf Grunbauer) (1990-09-15)
Re: Semicolons (Re: Low-Rent Syntax) rhl@grendel.princeton.edu) (1990-09-06)
| List of all articles for this month |

Newsgroups: comp.compilers
From: rhl@grendel.princeton.edu (Robert Lupton (the Good))
Keywords: parse, design
Organization: Princeton University, Princeton, New Jersey
References: <1990Aug29.140407.28378@maths.nott.ac.uk> <2753@sequent.cs.qmw.ac.uk> <8478@fy.sei.cmu.edu>
Date: 6 Sep 90 13:44:50 GMT

I don't quite see the worry about syntax errors due to missing/extra
semicolons. I've been writing C for 10 years, and many tens of thousands
of lines later I can only remember one set of problems due to making
semicolon mistakes, namely in the days when I used


float x,
y,
z;


I'd sometimes change z's name to yy and switch the last two lines (had
to be alphabetic, you know |-) and end up with an int by mistake. Since
I stopped using this declaration style I don't remember a single ; error.


Robert
[C has semicolon as terminator rather than as separator, which seems easier
to get right. -John]




--


Post a followup to this message

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