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: 103376,66bc6b039f1e005d X-Google-Attributes: gid103376,public From: Tucker Taft Subject: Re: Three simple questions Date: 2000/10/11 Message-ID: <39E47660.3F85CAF9@averstar.com>#1/1 X-Deja-AN: 680152155 Content-Transfer-Encoding: 7bit References: <2BED68CA963D6D55.A78776F656DA0452.75A61ED22116F1B6@lp.airnews.net> <39e2588f.21565740@news.demon.co.uk> <39E2D51E.D0122F20@bton.ac.uk> <39E30759.7A402CB6@bton.ac.uk> <8rv7k9$2kq$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@inmet2.burl.averstar.com X-Trace: inmet2.burl.averstar.com 971273824 11316 141.199.8.77 (11 Oct 2000 14:17:04 GMT) Organization: AverStar (formerly Intermetrics) Burlington, MA USA Mime-Version: 1.0 NNTP-Posting-Date: 11 Oct 2000 14:17:04 GMT Newsgroups: comp.lang.ada Date: 2000-10-11T14:17:04+00:00 List-Id: Ted Dennison wrote: > > In article <39E30759.7A402CB6@bton.ac.uk>, > John English wrote: > > Dale Stanbrough wrote: > > > > > > Of course Ada has exactly the same problem, in that if you misspell > > > the name of a subprogram when trying to override, you are not > > > informed by the compiler (e.g. consider Finalize and Finalise). > > > > This is in fact a particularly bad one, as there aren't even any > > explicit calls you can search for, so debugging "by eye" is out. > ... > > To bring this into the realm of actual experience, I got bit by this > exact problem last week. > ... > > I agree completely -- from a safety point of view, something like > > this is surely essential for Ada 0X... > > I'm glad I'm not the only one who feels that way. You'll be happy to know that pragmas have been proposed that allow the programmer to prevent this kind of mistake. See AI-218, at: http://www.ada-auth.org/cgi-bin-acats/cvsweb.cgi/AIs/AI-00218.DOC?rev=1.4 > > -- > T.E.D. > > http://www.telepath.com/~dennison/Ted/TED.html -- -Tucker Taft stt@averstar.com http://www.averstar.com/~stt/ Technical Director, Commercial Division, AverStar (formerly Intermetrics) (http://www.averstar.com/services/IT_consulting.html) Burlington, MA USA