comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: GNAT GPL Edition - on the plus side
Date: Fri, 14 Oct 2005 19:00:56 -0500
Date: 2005-10-14T19:00:56-05:00	[thread overview]
Message-ID: <F4ydnbGkTKxY2M3eRVn-tg@megapath.net> (raw)
In-Reply-To: b4p2ksjzkv4m.6ghazx68f8js.dlg@40tude.net


"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message
news:b4p2ksjzkv4m.6ghazx68f8js.dlg@40tude.net...
> [rant on]
>
> Why Ada generics do not have boxes for individual parameters?

Ada 200Y does allow mixing of <> and specified parameters in generic formal
packages. Also, the rules for what's visible were clarified. Probably GNAT's
implementation of these changes is what is causing your troubles.

I tried to get more kinds of default parameters for generics, but that
effort failed (mainly because some people seem to hate defaults of any
kind -- there didn't seem to be any technical objections).

> Why Ada
> generics do not have specializations?
>
> Anyway, generics and templates are inherently a mess, but that is another
> story. (:-))

Perhaps because we haven't seen any crying need. I, for one would prefer to
reduce the need for generics than to pile on more features. You have said in
the past that generics are unnecessary with good OOP, and I tend to agree. I
think pretty much everything should be a tagged type derived from
Controlled, and that fact, combined with decent access-to-subprograms and
interfaces, eliminate much of the need for generics. (Of course, if you
insist on supporting archaic untagged types, then you do need generics.)

> [rant off]

Same here.

                         Randy.







  parent reply	other threads:[~2005-10-15  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-14  1:41 GNAT GPL Edition - on the plus side Steve
2005-10-14  4:44 ` randomm
2005-10-14 10:12   ` Alex R. Mosteo
2005-10-14 10:37     ` Martin Dowie
2005-10-19  6:06   ` jussij
2005-10-14  5:55 ` Simon Wright
2005-10-14  8:10 ` Dmitry A. Kazakov
2005-10-14  9:36   ` Martin Dowie
2005-10-14 13:13   ` Marc A. Criley
2005-10-14 17:12     ` Dmitry A. Kazakov
2005-10-14 19:05       ` Georg Bauhaus
2005-10-15  9:28         ` Dmitry A. Kazakov
2005-10-15  0:00       ` Randy Brukardt [this message]
2005-10-15 14:45         ` Robert A Duff
2005-10-15 16:14           ` Dmitry A. Kazakov
2005-10-16  0:48             ` Robert A Duff
2005-10-16  9:56               ` Dmitry A. Kazakov
2005-10-14 13:50   ` Steve
2005-10-14 17:25     ` Dmitry A. Kazakov
2005-10-14 18:58       ` Georg Bauhaus
2005-10-15  9:31         ` Dmitry A. Kazakov
2005-10-15  1:45       ` Steve
2005-10-15 11:18         ` Simon Wright
2005-10-14 17:42   ` Pascal Obry
replies disabled

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