comp.lang.ada
 help / color / mirror / Atom feed
From: Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>
Subject: Re: XML DOM Binding for Ada 95 - matter of style
Date: Mon, 04 Aug 2003 10:04:32 +0200
Date: 2003-08-04T10:04:32+02:00	[thread overview]
Message-ID: <ti3sivgstvvmh3j7399j0prvlifsm8j5it@4ax.com> (raw)
In-Reply-To: SXaXa.5251$jg7.4768@newsread3.news.pas.earthlink.net

On Sun, 03 Aug 2003 16:42:26 GMT, "Matthew Heaney"
<matthewjheaney@earthlink.net> wrote:

>"Marin David Condic" <nobody@noplace.com> wrote in message
>news:3F2BA9C8.9030700@noplace.com...
>>
>> I see tagged types as the way to fully implement the Object Oriented
>> paradigm in Ada.
>
>To help convince you that inheritance-oriented programming is not the
>solution to all problems, I suggest you read this interview with Stepanov:
>
>http://www.stlport.org/resources/StepanovUSA.html
>
>Here are the money quotes:
>
>"I find OOP technically unsound. It attempts to decompose the world in terms
>of interfaces that vary on a single type. To deal with the real problems you
>need multisorted algebras - families of interfaces that span multiple types.
>I find OOP philosophically unsound. It claims that everything is an object.
>Even if it is true it is not very interesting - saying that everything is an
>object is saying nothing at all. I find OOP methodologically wrong."
>
>Asked what he thought of Java, he replied that "...It keeps all the stuff
>that I never use in C++ - inheritance, virtuals - OO gook - and removes the
>stuff that I find useful."
>
>He says later that "...I spent years trying to find some use for inheritance
>and virtuals, before I understood why that mechanism was fundamentally
>flawed and should not be used."

1. What Stepanov addresses is actually not OO, or better to say not
ADT, but its existing implementations in the languages like C++ and
Ada. 

2. Maybe dynamic polymorphism is flawed, but then the static has to be
as well.

3. To say that everything is object, was indeed silly, but this was
rather a mantra than a concept. I hope that nobody took it seriosly.
(:-)) Fortunately, presently one hears this rubbish not so frequently
as it was pair years ago.

I think that his decision to switch to macros (aka C++ templates) was
caused merely by the state of ADT, which was too underdeveloped then
and remains underdeveloped now. It is easy to see that "families of
interfaces" is again an interface and that "multiple types" constitute
a type [a class-wide type, many thanks to Ada for this clarification].
Anyway, what could be an alternative? An untyped language? Who wants
that again?

---
Regards,
Dmitry Kazakov
www.dmitry-kazakov.de



  reply	other threads:[~2003-08-04  8:04 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30 11:32 XML DOM Binding for Ada 95 - matter of style DENNY VRANDECIC
2003-07-30 12:33 ` Martin Dowie
2003-07-30 15:20   ` Denny Vrandecic
2003-07-30 16:33     ` Stephen Leake
2003-07-31 10:57       ` Marin David Condic
2003-07-31 11:27         ` Preben Randhol
2003-07-31 13:10           ` Matthew Heaney
2003-07-31 19:04             ` Simon Wright
2003-08-02 14:40               ` Matthew Heaney
2003-07-31 20:25             ` Randy Brukardt
2003-08-01 11:46           ` Marin David Condic
2003-08-02  3:40             ` Matthew Heaney
2003-08-02 12:08               ` Marin David Condic
2003-08-02 14:46                 ` Matthew Heaney
2003-08-02 21:25                   ` Ed Falis
2003-08-05 19:59                   ` Marin David Condic
2003-08-03 16:42                 ` Matthew Heaney
2003-08-04  8:04                   ` Dmitry A. Kazakov [this message]
2003-08-05  8:00                     ` Georg Bauhaus
2003-08-05 11:46                       ` Dmitry A. Kazakov
2003-08-05 13:34                         ` Georg Bauhaus
2003-08-06  9:03                           ` Dmitry A. Kazakov
2003-08-06 18:15                             ` signature like constructions (was: Re: XML DOM Binding for Ada 95 - matter of style) Georg Bauhaus
2003-08-07 10:12                               ` Dmitry A. Kazakov
2003-08-07 16:22                                 ` signature like constructions Georg Bauhaus
2003-08-08  8:31                                   ` Dmitry A. Kazakov
2003-08-08 10:12                                     ` Robert I. Eachus
2003-08-08 13:29                                       ` Dmitry A. Kazakov
2003-08-08 19:37                                         ` Robert I. Eachus
2003-08-09  0:58                                           ` Alexander Kopilovitch
2003-08-09  7:39                                             ` Robert I. Eachus
2003-08-10  1:30                                               ` Alexander Kopilovitch
2003-08-10  4:11                                                 ` Robert I. Eachus
2003-08-11 10:25                                           ` Dmitry A. Kazakov
2003-08-08 23:44                                         ` Alexander Kopilovitch
2003-08-11  9:54                                           ` Dmitry A. Kazakov
2003-08-11 14:59                                             ` Alexander Kopilovitch
2003-08-12  9:54                                               ` Dmitry A. Kazakov
2003-08-13 22:28                                                 ` Alexander Kopilovitch
2003-08-09  8:32                                       ` Simon Wright
2003-08-09 15:32                                         ` Robert I. Eachus
2003-08-07 12:52                             ` XML DOM Binding for Ada 95 - matter of style Matthew Heaney
2003-08-07 15:03                               ` Dmitry A. Kazakov
2003-08-07 12:28                           ` Matthew Heaney
2003-08-05 20:05                   ` Marin David Condic
2003-07-30 16:34     ` Martin Dowie
2003-07-30 17:54 ` tmoran
replies disabled

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