comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Inheritance and Polymorphism in Ada !!
Date: 1999/10/18
Date: 1999-10-18T00:00:00+00:00	[thread overview]
Message-ID: <wccwvsk1ul4.fsf@world.std.com> (raw)
In-Reply-To: 38077b65_1@news1.prserv.net

"Matthew Heaney" <matthew_heaney@acm.org> writes:

> 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.

Whoever says "wrong" about matters that are clearly matters of opinion,
such as this stylistic issue, is wrong.  ;-) How about, "I disagree
with..."  or "It's a bad idea to ..." or "You'll be sorry if..."?  I
would understand you better if you reserved "wrong" to point out factual
mistakes.

Anyway, I agree that you shouldn't always turn block statements into
procedures.

My main complaint about block statements is that they're verbose: they
introduce three extra lines of code which don't impart any useful
information to the reader of the code.  Why can't I just declare a local
variable in any statement list?  And they introduce an extra (bogus)
level of indentation.

- Bob
-- 
Change robert to bob to get my real email address.  Sorry.




  parent reply	other threads:[~1999-10-18  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 ` Lutz Donnerhacke
1999-10-15  0:00 ` Ted Dennison
1999-10-15  0:00 ` Andreas Winckler
1999-10-15  0:00   ` Stephane Barbey
1999-10-15  0:00   ` Richard D Riehle
1999-10-15  0:00     ` Matthew Heaney
1999-10-15  0:00       ` Richard D Riehle
1999-10-18  0:00       ` Robert A Duff [this message]
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-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-15  0:00   ` tmoran
1999-10-15  0:00     ` tmoran
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   ` Lutz Donnerhacke
1999-10-18  0:00   ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox