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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,14f7200925acb579 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: No Go To's Forever! Date: 2000/03/23 Message-ID: <2000Mar23.125958.1@eisner>#1/1 X-Deja-AN: 601391395 References: <38D7B41D.B3494C6A@lmco.com> <8b8m2e$8201@news.cis.okstate.edu> <8b9fk3$l18$1@nnrp1.deja.com> <38D8DFC2.778826FB@cadence.com> <8barci$4ks$1@nnrp1.deja.com> <38D9233B.D51B16A3@cadence.com> <8bbsl4$ani$1@nnrp1.deja.com> <8bd9ve$r1c$1@nnrp1.deja.com> X-Trace: news.decus.org 953834401 25014 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 2000-03-23T00:00:00+00:00 List-Id: In article <8bd9ve$r1c$1@nnrp1.deja.com>, Ted Dennison writes: > In article <8bbsl4$ani$1@nnrp1.deja.com>, > Robert Dewar wrote: >> In article <38D9233B.D51B16A3@cadence.com>, >> >> But surely you would enforce this usage with a tool. There are >> no general defences against sufficiently incompetent >> maintainers. > > A tool? How would such a tool be written? It looks to me like you'd need > an Ada parser to hook it to. Not everyone has the ability or permission > to hack stuff like this into their compiler. Perhaps ASIS could help, > but not every compiler supports ASIS. > > And even if you did have the tool, how are you going to force > maintainers to use it? If I wanted to enforce use of a checking tool, I would put it into the checkin mechanism. Unless you are running in an environment where you have terribly intertwined the source control and programming functions, any mid-sized shop should not be permitting direct write-access to the source code repository. Programmers can check code in by using the approved mechanism, but a COPY command will not do it. If your code does not pass muster, it does not get checked in. I am not offering an opinion on what the rules should be that will be enforced, just on how to enforce them.