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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,587e0e0a16d65b10 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: Invade wikipedia! Date: Wed, 25 Feb 2009 15:57:17 +0000 Message-ID: References: <1tw8gryqdolal$.1osqedj9x821c.dlg@40tude.net> <5c44eaae-631d-46d2-8384-86af79d5e048@n20g2000vba.googlegroups.com> <944a1924-0fa7-487f-a94d-084a2be1b231@v31g2000vbb.googlegroups.com> <9f2553d3-66f5-4708-a237-bfef1d8404f4@v42g2000yqj.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: individual.net /CgotQFAkgrRNpfuRxPy7wZheOjXZb7jb1H61VW/k3X1ezVx+B Cancel-Lock: sha1:+TXePmOaM8Sy749j+Z0z7QtriX8= User-Agent: Microsoft-Entourage/12.14.0.081024 Thread-Topic: Invade wikipedia! Thread-Index: AcmXYbt+tleGzWprdk2ynqkVGB+HLA== Xref: g2news2.google.com comp.lang.ada:4763 Date: 2009-02-25T15:57:17+00:00 List-Id: On 25/02/2009 08:05, in article ygeab8bvt3s.fsf@sparre-andersen.dk, "Jacob Sparre Andersen" wrote: > Bill wrote: >> Martin wrote: > >>> Sorry my made up example doesn't cut mustard! Does this make it any >>> clearer? :-) >>> >>> ------------------------ >>> -- Calculate_Velocity -- >>> ------------------------ >>> >>> procedure Calculate_Velocity >>> (Speed : Meters_Per_Second; >>> Time : Seconds; >>> Velocity : out Meters_Per_Second_Per_Second); >> >> Nope! >> The reason why is left as an exercise for the student. 8-) > > I'm not really a student any more, but now that the students have had > their chance ... > > There are several problems with this: > > + The subroutine doesn't do what its name says it does (physicists > see this easily). Yup. > + Comments are inherently dangerous (since they are not checked by > the compiler). And again. -- Bill Findlay chez blueyonder.co.uk