comp.lang.ada
 help / color / mirror / Atom feed
* Comments at the End of Lines
@ 1999-07-02  0:00 Roger Racine
  1999-07-02  0:00 ` John Duncan
  1999-07-02  0:00 ` Martin C. Carlisle
  0 siblings, 2 replies; 10+ messages in thread
From: Roger Racine @ 1999-07-02  0:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-07-03  0:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-02  0:00 Comments at the End of Lines Roger Racine
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     ` Chad R. Meiners
1999-07-03  0:00     ` John Duncan
1999-07-03  0:00       ` Steve Doiel
1999-07-03  0:00     ` Larry Kilgallen
1999-07-02  0:00 ` Martin C. Carlisle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox