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.6 required=5.0 tests=BAYES_00,FROM_WORDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7dfca01aeef9a8c0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-27 06:05:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr16.news.prodigy.com.POSTED!not-for-mail From: "Ken Garlington" Newsgroups: comp.lang.ada References: <3B5D5EA5.F20EC9D7@ffi.no> <5ee5b646.0107260852.2dcba52a@posting.google.com> Subject: Re: Question about enumeration types Organization: ex-FlashNet, now Prodigy 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: NNTP-Posting-Host: 65.65.208.68 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr16.news.prodigy.com 996239079 ST000 65.65.208.68 (Fri, 27 Jul 2001 09:04:39 EDT) NNTP-Posting-Date: Fri, 27 Jul 2001 09:04:39 EDT X-UserInfo1: FKPO@SJDPRUORR\YIBCHOPP@FJ^ZTB\MV@BT]_MIJQR@EPIB_VUKAH_[MTX\IS[K[NGYJJFNOFZR_G[BUNTAOQLFE^TEHRPI]PZZRP_BMDSFQFL_]CBHXRWCMDCUZAZN@D_AKMNLEI]MWHCSXL^]NNC__CZFGSGHYYXWPFG@SCAVA]\FT\@B\RDGENSUQS^M Date: Fri, 27 Jul 2001 13:04:39 GMT Xref: archiver1.google.com comp.lang.ada:10634 Date: 2001-07-27T13:04:39+00:00 List-Id: "Robert Dewar" wrote in message news:5ee5b646.0107260852.2dcba52a@posting.google.com... : Now if you have a program where you have two functions : : procedure Arguement (F : Func); : -- Supply saved argument for function F : : procedure Argument (W : Employee); : -- Record that employee W got into an argument with management : : That's bad programming, because the two procedures have nothing to : do with one another at an abstract level, and now the prograqm is : harder to read, because the reader will not know which version of : Argument is the appropriate one. Unfortunately the compiler has no : way of treating this horrible misuse of overloading as an error, : so you don't get any diagnostic in this case. What overloading? I don't see anything overloaded here! :)