From: rracine@draper.com (Roger Racine)
Subject: Comments at the End of Lines
Date: 1999/07/02
Date: 1999-07-02T00:00:00+00:00 [thread overview]
Message-ID: <rracine.20.00079751@draper.com> (raw)
Are comments at the end of lines frowned upon for some reason? The latest
version of AdaGIDE, during a reformat, moves all such comments to the next
line. The statistics program provided by it gives incorrect results when
end-of-line comments exist.
Finally, not related to Ada, a C style guide I was asked to review had a rule
that said not to put comments at the end of lines.
Perhaps there is a good reason for this rule, but I can not think of one
(other than making a statistics tool easy to write by just looking for
semicolons at the end of lines).
Roger Racine
next reply other threads:[~1999-07-02 0:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-02 0:00 Roger Racine [this message]
1999-07-02 0:00 ` Comments at the End of Lines Martin C. Carlisle
1999-07-02 0:00 ` John Duncan
1999-07-02 0:00 ` Robert Dewar
1999-07-02 0:00 ` Robert Dewar
1999-07-03 0:00 ` Steve Doiel
1999-07-03 0:00 ` Larry Kilgallen
1999-07-03 0:00 ` John Duncan
1999-07-03 0:00 ` Steve Doiel
1999-07-03 0:00 ` Chad R. Meiners
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox