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 X-Google-Thread: 103376,a04e500922557815 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-16 03:22:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Need advice: Enumerate or not Date: Thu, 16 May 2002 10:22:18 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3CE2540C.1030404@worldnet.att.net> <3CE2A23D.850BA244@acm.org> <5ee5b646.0205151837.5b773899@posting.google.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1021544538 806 129.241.83.82 (16 May 2002 10:22:18 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 16 May 2002 10:22:18 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:24168 Date: 2002-05-16T10:22:18+00:00 List-Id: On 15 May 2002 19:37:05 -0700, Robert Dewar wrote: > > The real rule in Ada is use the appropriate design to make the code as easy > as possible to read *and* maintain. Sometimes dynamic dispatching meets this > criterion, sometimes it fails. > > Those who insist on using dispatching and extended types for everything doom > themselves to write rubbish code that is hard to read and hard to maintain in > some situations. > > Those who absolutely refuse to use dispatching and type extension ever doom > themselves to the same fate. OK I see. I see now that it makes sense to use dispatching in one place and enumerated types in another in the program I'm making. Thanks! Preben -- �For me, Ada95 puts back the joy in programming.�