comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@nospam.baesystems.com>
Subject: Re: Learning Ada (newbie)
Date: Fri, 6 Apr 2001 08:04:59 +0100
Date: 2001-04-06T08:04:59+01:00	[thread overview]
Message-ID: <3acd6863$1@pull.gecm.com> (raw)
In-Reply-To: z75z6.679803$U46.21074483@news1.sttls1.wa.home.com

what happened to point 5) - the anonymous point! :-)

Mark Lundquist <mark@rational.com> wrote in message
news:z75z6.679803$U46.21074483@news1.sttls1.wa.home.com...
>
> Ayende Rahien <Dont@spam.me> wrote in message
> news:9af9ao$6ee$1@taliesin.netcom.net.uk...
>
>
> 4) Safe pointers.
>
> 6) A crisp model for inheritance and dynamic polymorphism that is *not*
> based on the idea of a "class".  IMHO, class-oriented languages
> (Simula/Smalltalk/C++/Java etc.) embody an intellectual error in their
> treatment of encapsulation (privacy and primitive operations, a.k.a.
> methods), by making the the "class", which is really a type definition,
also
> the unit of modularity.  The conflation of "module" and "type" in the
notion
> of "class" results in all kinds of distortions: special syntax and sematic
> complexities for various types of constructors (constructors as a
> language-level concept do not exist in Ada, since they are unnecessary
> without classes), the need for a "singleton" idiom, and the need for
> "friend" classes.
>
>    Also, Ada's dispatching model is nice and clean.  Inheritance does not
> imply dispatching, and dispatching is a property of the method invocation,
> not just the method declaration.  And you can dispatch on the return type
of
> a function, not just parameter types.
>






  parent reply	other threads:[~2001-04-06  7:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-04 13:25 Learning Ada (newbie) Ayende Rahien
2001-04-04 14:36 ` Marin David Condic
2001-04-04 18:31   ` Ayende Rahien
2001-04-04 14:46 ` chris.danx
2001-04-04 15:09 ` Ted Dennison
2001-04-04 16:00 ` David Starner
2001-04-04 18:05 ` martin.m.dowie
2001-04-04 18:29   ` Ayende Rahien
2001-04-05 11:18     ` martin.m.dowie
2001-04-04 22:25 ` Peter Milliken
2001-04-04 23:57 ` Jerry Petrey
2001-04-05 13:46   ` BSCrawford
2001-04-05 21:06 ` Mark Lundquist
2001-04-05 22:06   ` Marin David Condic
2001-04-06  4:04     ` Mark Lundquist
2001-04-06 21:52       ` Britt Snodgrass
2001-04-06 14:13     ` Ted Dennison
2001-04-06 14:53       ` Marin David Condic
2001-04-06 17:24       ` Mark Lundquist
2001-04-07 17:59     ` Georg Bauhaus
2001-04-09 14:54       ` Marin David Condic
2001-04-06  0:44   ` Ayende Rahien
2001-04-06  0:56     ` Ayende Rahien
2001-04-06  7:04   ` Martin Dowie [this message]
2001-04-06 14:11     ` Mark Lundquist
2001-04-06 16:33       ` Mark Lundquist
2001-04-24  5:24   ` David Thompson
replies disabled

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