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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 146b77,d275ffeffdf83655 X-Google-Attributes: gid146b77,public X-Google-Thread: f5d71,d275ffeffdf83655 X-Google-Attributes: gidf5d71,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Ada vs C++ vs Java Date: 1999/01/20 Message-ID: #1/1 X-Deja-AN: 434951731 References: <369C1F31.AE5AF7EF@concentric.net> <369DDDC3.FDE09999@sea.ericsson.se> <369e309a.32671759@news.demon.co.uk> <369F1D39.64A65BC1@sea.ericsson.se> <369f81a9.31040093@news.demon.co.uk> <77ommt$9bo$1@nnrp1.dejanews.com> <77vhjf$nn9$1@nnrp1.dejanews.com> <77vld9$qvg$1@nnrp1.dejanews.com> <782rp0$kn6$1@nnrp1.dejanews.com> <6Oap2.16170$MW1.4028@news2.giganews.com> <784lo6$59l$1@nnrp1.dejanews.com> Organization: The Mitre Corp., Bedford, MA. Newsgroups: comp.lang.c++,comp.vxworks,comp.lang.java,comp.lang.ada Date: 1999-01-20T00:00:00+00:00 List-Id: In article <784lo6$59l$1@nnrp1.dejanews.com> robert_dewar@my-dejanews.com writes: > As I say, it would be interesting to here from a group > that systematically used some kind of canonicalization > of sources, with individuals performing style translations > to their own tastes whenever they make changes. I do know of one case, but only one. When we were building the Ada/SIL compiler at Honeywell (in PL/I on Multics) we used Multics Emacs and first reference traps on our source library, so that when you opened a file in Emacs, the indentation, comment columns, etc. were set to your preferences in a copy that you automagically checked out. The check-in tool recanonicalized the file, compiled it, ran regression tests, etc. The system worked pretty well because there was no effort required to use it, in fact it took a lot of work to bypass it. (And of course, those who did try to bypass it got caught quickly, and eventually removed from the project.) The only major disadvantage was that if you needed to have a block comment, the tool required that each line be a separate comment so the internal formatting didn't change. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...