comp.lang.ada
 help / color / mirror / Atom feed
From: kcline17@hotmail.com (Kevin Cline)
Subject: Re: worth the hassle?
Date: 22 Jul 2002 22:39:53 -0700
Date: 2002-07-23T05:39:54+00:00	[thread overview]
Message-ID: <ba162549.0207222139.1ef3a94a@posting.google.com> (raw)
In-Reply-To: uheirlk4z.fsf@gsfc.nasa.gov

Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> wrote in message news:<uheirlk4z.fsf@gsfc.nasa.gov>...
> "chris.danx" <spamoff.danx@ntlworld.com> writes:
> 
> > <snip discussion of lists supporting limited types>
>  
> > Is this a worth while tradeoff?  I guess the question "how often are limited
> > types used?" would serve better, as it would give a measure on which to base
> > a decision.
> 
> This was discussed extensively back in December 2001 during the Grace
> Lists requirements development. You could search on Google for that
> discussion.
> 
> My own opinion is that supporting limited types is a requirement for
> any general-purpose container.
> 
> This is probably one reason why Ada will never be as popular as C++;
> in C++, you don't have to make this kind of decision :).

That's right -- in C++ there is no distinction between classes
with user-defined constructors and destructors and classes without
them.  This is another factor that makes generic programming
easier in C++ than it is in Ada.

I think the decision in Ada to create a distinction between
'limited' and ordinary types was a mistake.  It gives programmers
the impression that 'limited types' are somehow exotic, but IMHO
almost all user-defined types should be limited types.



  parent reply	other threads:[~2002-07-23  5:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-22 16:56 worth the hassle? chris.danx
2002-07-22 17:17 ` Wes Groleau
2002-07-22 17:45   ` chris.danx
2002-07-22 19:05     ` Wes Groleau
2002-07-22 17:56 ` chris.danx
2002-07-22 18:06   ` Stephen Leake
2002-07-22 21:06     ` chris.danx
2002-07-23 12:16       ` chris.danx
2002-07-23 12:36       ` chris.danx
2002-07-23 15:00       ` Stephen Leake
2002-07-23 15:15         ` chris.danx
2002-07-23 15:36           ` chris.danx
2002-07-23 16:19             ` Peter Hermann
2002-07-23 16:41               ` chris.danx
2002-07-23 17:35               ` Stephen Leake
2002-07-22 17:58 ` Stephen Leake
2002-07-22 18:15   ` Frank J. Lhota
2002-07-22 19:56     ` Stephen Leake
2002-07-23  5:56     ` Kevin Cline
2002-07-22 18:44   ` chris.danx
2002-07-23  5:39   ` Kevin Cline [this message]
2002-07-23 15:05     ` Stephen Leake
2002-07-23 18:34   ` Perhaps we keep lists elements private and adjust the elements to fit? Chad R. Meiners
2002-07-23 19:23     ` 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