From: Simon Wright <simon@pushface.org>
Subject: Re: Dynamic binding
Date: Sat, 14 Apr 2012 08:39:41 +0100
Date: 2012-04-14T08:39:41+01:00 [thread overview]
Message-ID: <m28vhyg3sy.fsf@pushface.org> (raw)
In-Reply-To: 55tfbsnll3t0$.1hx68o0qdhb90$.dlg@40tude.net
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> A is called class-wide in Ada. All calls from it will be dispatching.
> Class-wide operations represent in Ada the concept of generic
> programming: operations defined for a whole set of types (the class).
Looking at the Wikipedia article on generic programming, we have to
distinguish between _generic programming_ and _genericity mechanisms_;
but only after we've distinguished between three or more meanings of
_generic programming_:
* Ada-style generics, C++ templates ...
* the C++ STL approach of Musser and Stepanov (followed in spirit by
Ada.Containers)
* 'datatype generic programming' (I found
http://www.cs.ox.ac.uk/research/pdt/ap/dgp/ - but that paper
recognises that there are yet other uses of _generic programming_)
Not sure where Dmitry's meaning goes. One of the third type, I think.
I can see that an alternative name such as _classwide programming_ isn't
going to fly for the wider public!
next prev parent reply other threads:[~2012-04-14 7:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-13 20:13 Dynamic binding Katarina Olsson
2012-04-13 20:55 ` Dmitry A. Kazakov
2012-04-14 6:41 ` Niklas Holsti
2012-04-14 7:39 ` Simon Wright [this message]
2012-04-14 8:58 ` Dmitry A. Kazakov
2012-04-15 12:04 ` AdaMagica
-- strict thread matches above, loose matches on Subject: below --
2012-04-13 20:11 Katarina Olsson
2012-04-14 8:43 ` Georg Bauhaus
2012-04-14 17:17 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox