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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52fd60a337c05842 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-15 17:03:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!news.xtra.co.nz!not-for-mail From: "AG" Newsgroups: comp.lang.ada References: <3D0A399C.EF6F1BD9@acm.org> Subject: Re: ada paper critic X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Sun, 16 Jun 2002 12:05:12 +1200 NNTP-Posting-Host: 210.86.45.112 X-Complaints-To: newsadmin@xtra.co.nz X-Trace: news.xtra.co.nz 1024185823 210.86.45.112 (Sun, 16 Jun 2002 12:03:43 NZST) NNTP-Posting-Date: Sun, 16 Jun 2002 12:03:43 NZST Organization: Xtra Xref: archiver1.google.com comp.lang.ada:26053 Date: 2002-06-16T12:05:12+12:00 List-Id: "sk" wrote in message news:mailman.1024094403.17747.comp.lang.ada@ada.eu.org... > > What about the operator overloading possibilities in ada? > > type My_Natural is new Natural; > > function "+"(A, B : My_Natural) return My_Natural is > begin > return 0; > end "+"; > > Yep this is fun too. If this definition is not in an > obvious location it can take a long time to debug > when this bites you. Well, you must be a bit slow debugging-wise ;) It's a very nice, well-determined, 100% reproducible bug. Should only take a few seconds to trace through the code and see where it comes from. I only wish all the bugs were that easy...