comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: something I would like to see in ADA 2005
Date: 10 Apr 2003 20:10:43 -0400
Date: 2003-04-10T20:10:43-04:00	[thread overview]
Message-ID: <wccistl99mk.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 6a90b886.0304100522.2ebf68b2@posting.google.com

tony_gair@yahoo.co.uk (Tony Gair) writes:

> I would like to see generic protected types in ada 2005.

Please explain why generic packages (containing protected types), as
suggested by Hymen Rosen, do not suffice.  Please also explain why
protected types are special -- why shouldn't we have generic types in
general?

> For example I have had to write seven , very similarly functioning
> protected types to perform the same database functions using the AVL
> trees of the booch components. They protected types save their data
> automatically but why on earth did I need to write seven (and debug !
> and maintain! eek).

Indeed, eek.

> I think protected types remove a lot problems and save writing tasks
> but in this case the task probably should have been used just to
> maintain the genericness ( or genericisity), but this would have been
> at the cost of the solid robustness provided by protected types.

How would tasks help?  Task types are no more generic than protected
types.  If you want genericity, you have to wrap it in a package.

> Are we too late to have our requests considered by whoever makes these
> decisions ?

The Ada Rapporteur Group makes these decisions, ultimately approved by
WG9 and the ISO.  Send your request to ada-comment@ada-auth.org, and see
what they say.  You have to give a concrete proposal, with details
worked out, or they'll probably pay no attention.

- Bob



  parent reply	other threads:[~2003-04-11  0:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10 13:22 something I would like to see in ADA 2005 Tony Gair
2003-04-10 14:04 ` Hyman Rosen
2003-04-14 14:34   ` Tony Gair
2003-04-14 15:33     ` Bill Findlay
2003-04-10 14:12 ` David C. Hoos
2003-04-10 14:24   ` Peter Hermann
2003-04-11  0:10 ` Robert A Duff [this message]
2003-04-14 14:39   ` Tony Gair
2003-04-14 15:34     ` Wesley Groleau
2003-04-14 15:41     ` Bill Findlay
2003-04-15  8:10     ` 
2003-04-15  8:29       ` 
2003-04-14 15:40 ` Stephen Leake
replies disabled

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