Topic: SV: Are free semicolons valid?


Author: "Bo Persson" <bop@malmo.mail.telia.com>
Date: 1999/12/16
Raw View

Steve Clamage <stephen.clamage@sun.com> skrev i
diskussionsgruppsmeddelandet:38569F1F.6204A220@sun.com...
>
> Francis Glassborow wrote:
> >
> > In article <christian.bau-1312990957520001@christian-
> > mac.isltd.insignia.com>, Christian Bau <christian.bau@isltd.insignia.com
> > > writes
> > >A good compromise, and a bit harder to implement: Give a warning if
there
> > >is not enough separation between the semicolon and the closing bracket
of
> > >the for statement. A good rule for giving a warning IMHO opinion would
be
> > >that there must be either a comment between for (;;) and the semicolon,
or
> > >the semicolon must be on the next line.
> >
> > Not in my book :)  (When I get to write it).
> >
> > IMHO, the use of the Null statement is obvious because the code on the
> > next line is NOT indented.
>
> Francis, perhaps you are being too hasty. I think this is a good
> motivation for Professor Stavtrup's "overloading whitespace" proposal
> (JOOP, April 1992). Maybe someone knows where to find an online
> copy of the paper.

Try the author's home page  :-)

http://www.research.att.com/~bs/papers.html


Bo Persson
bop@malmo.mail.telia.com





[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]