comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: generics in Ada 83
Date: 21 Sep 2005 18:58:13 -0400
Date: 2005-09-21T18:58:13-04:00	[thread overview]
Message-ID: <wcc3bnyni4a.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: rGJXe.399$9E2.124@newssvr11.news.prodigy.com

<adaworks@sbcglobal.net> writes:

> "Robert A Duff" <bobduff@shell01.TheWorld.com> wrote in message
> news:wccbr2vpsh2.fsf@shell01.TheWorld.com...
> >
> > The Ada way makes it easier to understand what the contract _is_.
> >
> > On the other hand, the C++ way is more powerful.
> >
> Kinda like the difference between safety-matches and
> strike-anywhere matches.

Well, maybe, but I didn't really mean it that way.
I wrote the above to be a sort-of neutral comparison
of the Ada and C++ way of doing generics/templates.
Each has advantages.

The language designer in me wants to get the best of both.
Somehow...

>...   When I was a kid in rural
> Pennsylvania, we used to call strike-anywhere matches
> "barn burners."  Hmmmmm.  There is an analogy in
> there someplace.

I don't think one can buy strike-anywhere matches around here these
days.

- Bob




  parent reply	other threads:[~2005-09-21 22:58 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-13 13:26 generics in Ada 83 REH
2005-09-13 13:30 ` Georg Bauhaus
2005-09-13 16:25   ` REH
2005-09-13 19:23     ` Georg Bauhaus
2005-09-13 13:50 ` Martin Dowie
2005-09-13 16:30   ` REH
2005-09-13 16:41     ` Martin Dowie
2005-09-13 18:43       ` REH
2005-09-13 19:37         ` Ludovic Brenta
2005-09-13 19:53           ` REH
2005-09-13 16:56 ` Jeffrey Carter
2005-09-13 18:53   ` REH
2005-09-13 22:16     ` Jeffrey Carter
2005-09-13 22:44       ` REH
2005-09-14  8:14   ` Jean-Pierre Rosen
2005-09-14 12:40     ` REH
2005-09-14 13:15     ` Hyman Rosen
2005-09-14 14:08       ` Jean-Pierre Rosen
2005-09-14 15:23         ` Hyman Rosen
2005-09-14 15:41           ` Robert A Duff
2005-09-19 17:58             ` REH
2005-09-20  4:58               ` Hyman Rosen
2005-09-20 12:36                 ` REH
2005-09-20  1:34             ` adaworks
2005-09-20  4:14               ` Jim Rogers
2005-09-21 22:58               ` Robert A Duff [this message]
2005-09-22 15:18                 ` adaworks
replies disabled

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