From: "Matthew Heaney" <matthew_heaney@acm.org>
Subject: Re: Inheritance and Polymorphism in Ada !!
Date: 1999/10/15
Date: 1999-10-15T00:00:00+00:00 [thread overview]
Message-ID: <38077b65_1@news1.prserv.net> (raw)
In-Reply-To: 7u7o36$tv8$1@nntp6.atl.mindspring.net
In article <7u7o36$tv8$1@nntp6.atl.mindspring.net> , Richard D Riehle
<laoXhai@ix.netcom.com> wrote:
> Alternatively, the declare block could (many say _should_) be promoted to a
> subprogram call.
Whoever says "should" is wrong.
The purpose of a declare block is to localize the declaration of
objects, as your example illustrated.
The purpose of a subprogram is to abstract away algorithmic complexity.
These are two completely different things, and there should be no reason
why they are confused.
Matt
--
Help keep evolution in the science classroom and religion out: become a
member of the National Center for Science Education.
<http://www.natcenscied.org/>
next prev parent reply other threads:[~1999-10-15 0:00 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-15 0:00 Inheritance and Polymorphism in Ada !! Chango Cho
1999-10-15 0:00 ` Andreas Winckler
1999-10-15 0:00 ` Richard D Riehle
1999-10-15 0:00 ` Matthew Heaney [this message]
1999-10-15 0:00 ` Richard D Riehle
1999-10-18 0:00 ` Robert Dewar
1999-10-23 0:00 ` Richard D Riehle
1999-10-24 0:00 ` Robert Dewar
1999-10-24 0:00 ` Brian Rogoff
1999-10-26 0:00 ` Robert Dewar
1999-10-25 0:00 ` Robert A Duff
1999-10-26 0:00 ` Robert Dewar
1999-10-26 0:00 ` Robert A Duff
1999-10-18 0:00 ` Robert A Duff
1999-10-19 0:00 ` Robert Dewar
1999-10-20 0:00 ` Robert A Duff
1999-10-21 0:00 ` Robert Dewar
1999-10-21 0:00 ` Paul Duquennoy
1999-10-21 0:00 ` Simon Wright
1999-10-21 0:00 ` Robert A Duff
1999-10-22 0:00 ` Matthew Heaney
1999-10-15 0:00 ` Stephane Barbey
1999-10-15 0:00 ` Matthew Heaney
1999-10-18 0:00 ` Robert A Duff
1999-10-18 0:00 ` Brian Rogoff
1999-10-15 0:00 ` tmoran
1999-10-15 0:00 ` tmoran
1999-10-15 0:00 ` Lutz Donnerhacke
1999-10-18 0:00 ` Robert A Duff
1999-10-15 0:00 ` Lutz Donnerhacke
1999-10-15 0:00 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox