From: Brian Rogoff <bpr@bpr.best.vwh.net>
Subject: Re: Ada / C++ comparison paper
Date: Tue, 18 Dec 2001 19:40:29 GMT
Date: 2001-12-18T19:40:29+00:00 [thread overview]
Message-ID: <Pine.BSF.4.40.0112181924260.32168-100000@bpr.best.vwh.net> (raw)
In-Reply-To: <c1KT7.543$DR.227521653@newssvr11.news.prodigy.com>
On Tue, 18 Dec 2001, Pat Rogers wrote:
> "Hyman Rosen" <hyrosen@mail.com> wrote in message
> > David C. Hoos wrote (in an e-mail to me):
> <snip>
> > The paper claims that code reuse is the critical benefit of OOP.
> > This is nonsense, implying, among other things, that OOP has
> > an "eat your spinach" flavor - that it's use in a project is primarily
> > for the purpose of aiding future projects. I would suggest that
> > OOP's critical benefit is run-time polymorphism.
>
> IMHO, the critical benefit of OOP is the supported separation of code that
> will change from code that need not. Run-time polymorphism is the means to
> that end, not the end itself.
You can get this separation with a sufficiently powerful module system,
and even Ada (95) has one. This is one of the primary benefits of using
signatures in Ada. No OOP involved.
I kind of agree with Hyman here. "Kind of", because I think that OO is
really overrated and that given a choice between an OO language, like, say
Eiffel or Java, and a powerful enough non-OO language, like SML, or OCaml
without the O, I'd much prefer to work in the latter class :-) of
language. OO is mostly a good way to make a confusing mess with open
recursion, though I have found it convenient at times, and the convenience
comes from the run time dispatching, not so much from the incremental
programming aspects.
In any case, I think Hyman is a bit oversensitive to some of the ignorant
C++ bashing in this n.g. I don't think of C++ as being "a great step
backwards" as some people here have said, and I have made the point many
times that I think some amount of inference/automatic instantiation, like
what C++ has, would be a great thing in an Ada like language. I'd also be
happy with a bit more shorthand, like +:=, and a more distinct array
accessing syntax (like []), etc. Still, its an Ada newsgroup, and I
wonder how many times Hyman has complained about anti-Ada ignorance in
the C++ world...
-- Brian
next prev parent reply other threads:[~2001-12-18 19:40 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 10:22 Ada / C++ comparison paper Martin Dowie
2001-12-17 14:42 ` Frode Tenneboe
2001-12-17 22:07 ` Hyman Rosen
2001-12-17 22:34 ` David C. Hoos
2001-12-17 22:37 ` Marin David Condic
2001-12-18 0:54 ` Ed Falis
2001-12-18 9:30 ` martin.m.dowie
2001-12-18 14:49 ` Marin David Condic
2001-12-18 17:51 ` Hyman Rosen
2001-12-19 16:10 ` Greg C
2001-12-20 14:41 ` Hyman Rosen
2001-12-20 20:16 ` Greg C
2001-12-19 20:44 ` Wes Groleau
2001-12-19 20:47 ` Ed Falis
2001-12-20 18:16 ` Ted Dennison
2001-12-20 19:12 ` Richard Riehle
2001-12-18 1:16 ` Larry Kilgallen
2001-12-17 22:52 ` Matthew Heaney
2001-12-18 15:47 ` Hyman Rosen
2001-12-18 16:20 ` Pat Rogers
2001-12-18 17:00 ` Hyman Rosen
2001-12-18 17:28 ` Larry Kilgallen
2001-12-18 19:40 ` Brian Rogoff [this message]
2001-12-18 20:25 ` Hyman Rosen
2001-12-19 0:53 ` was Re: Ada / C++ comparison paper anymore Mark Lundquist
2001-12-19 1:47 ` Brian Rogoff
2001-12-19 18:20 ` Mark Lundquist
2001-12-19 19:39 ` Patrick Hohmeyer
2001-12-19 19:38 ` Mark Lundquist
2001-12-19 20:51 ` Patrick Hohmeyer
2001-12-20 17:56 ` Brian Rogoff
2001-12-20 18:48 ` Patrick Hohmeyer
2001-12-20 19:20 ` Brian Rogoff
2001-12-21 3:16 ` Implicit instantiation (was Re: Ada / C++ comparison paper anymore) Mark Lundquist
2001-12-21 3:12 ` Implicit instantiation (was Re: was " Mark Lundquist
2001-12-21 2:55 ` Mark Lundquist
2001-12-20 20:22 ` was Re: Ada / C++ comparison paper anymore Ted Dennison
2001-12-20 20:57 ` Marin David Condic
2001-12-21 17:44 ` Richard Riehle
2001-12-21 17:51 ` Marin David Condic
2001-12-19 18:20 ` Ada / C++ comparison paper Mark Lundquist
2001-12-20 20:27 ` Ted Dennison
2001-12-20 20:59 ` Marin David Condic
2001-12-21 14:26 ` Ted Dennison
2001-12-21 14:32 ` Marin David Condic
2001-12-21 15:11 ` Jean-Marc Bourguet
2001-12-20 22:30 ` tmoran
2001-12-20 22:36 ` Marin David Condic
2001-12-21 14:23 ` Ted Dennison
2001-12-21 18:46 ` tmoran
2001-12-21 19:09 ` Ted Dennison
2001-12-21 2:46 ` Mark Lundquist
2001-12-21 14:28 ` 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