From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32e9e18947de9391,start X-Google-Attributes: gid103376,public From: rracine@draper.com (Roger Racine) Subject: Comments at the End of Lines Date: 1999/07/02 Message-ID: #1/1 X-Deja-AN: 496389200 Sender: nntp@news.draper.com (NNTP Master) Organization: Draper Laboratory Newsgroups: comp.lang.ada Date: 1999-07-02T00:00:00+00:00 List-Id: 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