From: Greg Chicares (chicares_at_[hidden])
Date: 2001-07-01 19:55:48
Rainer Deyke wrote:
> > ----- Original Message -----
> > From: "Greg Chicares" <chicares_at_[hidden]>
> > > and recommends /*...*/ instead for *text* comments; I just
> > > don't want to see that usage deprecated.
> // Is there anything wrong with this style of
> // multi-line comments?
> // I consider it more readable than '/**/' and '#if 0'.
> // It nests, and it can contain arbitrary characters.
Nothing at all wrong with that style. OTOH:
That doesn't mean this style is bad.
If I want to reformat this block to a different width, it's easier
without the // markers.
If I write /* here, gcc with the -Wall flag says
warning: `/*' within comment
The borland compiler identifies it too, although less plainly.
A syntax-highlighting editor makes writing nested comments more
unlikely; that's one problem I just don't encounter.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk