From: mike@eexz
Subject: Ada multiple string personalities. why so many?
Date: 1999/02/19
Date: 1999-02-19T00:00:00+00:00 [thread overview]
Message-ID: <7akgld$5ue@drn.newsguy.com> (raw)
In-Reply-To: 7akabo$1uk$1@nnrp1.dejanews.com
In article <7akabo$1uk$1@nnrp1.dejanews.com>, robert_dewar@my-dejanews.com
says...
>If it was named simply String, that would create a nasty
>clash with the type in Standard, and would be much
>less convenient, because then we would write
>Ada.Strings.Unbounded.String, which is still a mouthful!
>
Why did Ada had to have 3 types for a string? the standard
string, the bounded string, and the unbounded string.
In C++, there is only one <string> header that defines
one string container template thing that holds
character things. just one.
So, a C++ string is like that of Ada's ada.strings.unbounded.string.
That is all what is really needed, no?. It might not be the most
efficient, but it seems better to have one general type that does
eveything that 3 different types one can do a litle more with.
Mike
next prev parent reply other threads:[~1999-02-19 0:00 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-13 0:00 Why both "with" and "use"? Mike Silva
1999-02-13 0:00 ` Corey Minyard
1999-02-13 0:00 ` Matthew Heaney
1999-02-13 0:00 ` bill
1999-02-14 0:00 ` dewar
1999-02-14 0:00 ` Matthew Heaney
1999-02-14 0:00 ` dewar
1999-02-13 0:00 ` Tom Moran
1999-02-14 0:00 ` Matthew Heaney
1999-02-16 0:00 ` Samuel Mize
1999-02-17 0:00 ` Matthew Heaney
1999-02-17 0:00 ` Jean-Pierre Rosen
1999-02-18 0:00 ` dennison
1999-02-18 0:00 ` robert_dewar
1999-02-19 0:00 ` bourguet
1999-02-19 0:00 ` robert_dewar
1999-02-19 0:00 ` Robert I. Eachus
1999-02-19 0:00 ` robert_dewar
1999-02-23 0:00 ` Robert I. Eachus
1999-02-19 0:00 ` Brian Hanson
1999-02-19 0:00 ` robert_dewar
1999-02-19 0:00 ` dennison
1999-02-19 0:00 ` Matthew Heaney
1999-02-19 0:00 ` dennison
1999-02-19 0:00 ` robert_dewar
1999-02-19 0:00 ` mike [this message]
1999-02-19 0:00 ` Ada multiple string personalities. why so many? Tom Moran
1999-02-19 0:00 ` Mike Silva
1999-02-22 0:00 ` Brian Hanson
1999-02-19 0:00 ` robert_dewar
1999-02-19 0:00 ` Why both "with" and "use"? dennison
1999-02-19 0:00 ` robert_dewar
1999-02-18 0:00 ` robert_dewar
1999-02-18 0:00 ` Jean-Pierre Rosen
1999-02-18 0:00 ` robert_dewar
1999-02-19 0:00 ` Jean-Pierre Rosen
1999-02-17 0:00 ` dennison
1999-02-17 0:00 ` Nick Roberts
1999-02-17 0:00 ` Samuel Mize
1999-02-17 0:00 ` Jean-Pierre Rosen
1999-02-13 0:00 ` mike
1999-02-13 0:00 ` Pat Rogers
1999-02-13 0:00 ` bill
1999-02-13 0:00 ` Pat Rogers
1999-02-13 0:00 ` Matthew Heaney
1999-02-13 0:00 ` bill
1999-02-14 0:00 ` Pat Rogers
1999-02-14 0:00 ` Bob Collins
1999-02-14 0:00 ` Pat Rogers
1999-02-16 0:00 ` Samuel Mize
1999-02-13 0:00 ` Matthew Heaney
1999-02-15 0:00 ` Jean-Pierre Rosen
1999-02-15 0:00 ` Ed Falis
1999-02-16 0:00 ` Jean-Pierre Rosen
1999-02-15 0:00 ` Jean-Pierre Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox