From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: Need advice: Enumerate or not
Date: Thu, 16 May 2002 10:22:18 +0000 (UTC)
Date: 2002-05-16T10:22:18+00:00 [thread overview]
Message-ID: <slrnae722r.29a.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 5ee5b646.0205151837.5b773899@posting.google.com
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.�
next prev parent reply other threads:[~2002-05-16 10:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-15 9:42 Need advice: Enumerate or not Preben Randhol
2002-05-15 12:26 ` Jim Rogers
2002-05-15 14:24 ` Preben Randhol
2002-05-16 13:03 ` Stephen Leake
2002-05-16 19:05 ` Preben Randhol
2002-05-15 18:00 ` Jeffrey Carter
2002-05-16 0:31 ` Jim Rogers
2002-05-16 2:37 ` Robert Dewar
2002-05-16 10:22 ` Preben Randhol [this message]
2002-05-16 17:36 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox