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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,20280f498071efd3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!h12g2000yql.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Software Quality in Science Date: Thu, 11 Feb 2010 15:21:35 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <1198a288-b013-45a8-907f-7fe227e6294e@m27g2000prl.googlegroups.com> <04185bf3-f83a-4fbe-b380-c6d8aa4105e6@w27g2000pre.googlegroups.com> <06c522b2-512d-482d-882f-d6a690d1c587@d27g2000yqn.googlegroups.com> <9b39n5t0866p4o7vff03480nvljsuhk024@4ax.com> NNTP-Posting-Host: 77.198.58.225 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1265930495 7064 127.0.0.1 (11 Feb 2010 23:21:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 11 Feb 2010 23:21:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h12g2000yql.googlegroups.com; posting-host=77.198.58.225; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9126 Date: 2010-02-11T15:21:35-08:00 List-Id: On 12 f=E9v, 00:10, Brian Drummond wrote: > It certainly can be. > > Mis-spell a variable name, and you have just declared a new one, not acce= ssed > the one you expected... (There are usually ways to turn implicit declarat= ions > off, or make them compile time errors or warnings.) > > - Brian If you are not careful, a similar thing may occurs with Ada also : derive from a tagged type, "redefine" a miss-spelled ancestor method, and you've created a new method on your back. But Ada provides a nice way to avoid it : systematically make use of "overriding" / "not overriding". The dark side is that this is optional and not required by the language rules.