Re: String filtering
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Sep 2005 14:02:53 +0200
On Wed, 28 Sep 2005 10:51:35 +1000, David Trudgett wrote:
> "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx> writes:
>
>> It is a different story. Unbounded_String is a nasty kludge. But
>> that does not mean that if they were designed properly, they would
>> be more needed! (:-))
>
> I'm almost afraid to ask... :-) What is it about Unbounded_String that
> makes it a kludge, in your opinion? Is there something unecessarily
> inefficient (space/time) about the way they are specified in the Ada95
> standard? Or is it that existing implementations of it are a kludge?
It is much simpler, they are *not* strings: ARM 95 3.6.3 (1):
"A one-dimensional array type whose component type is a character type is
called a string type."
Unbounded_String design was a compromise, to make them right would have
required too many changes in the language. And there already were many.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- References:
- String filtering
- From: David Trudgett
- Re: String filtering
- From: David Trudgett
- Re: String filtering
- From: David Trudgett
- Re: String filtering
- From: Dmitry A. Kazakov
- Re: String filtering
- From: David Trudgett
- String filtering
- Prev by Date: Re: Code completion in ada IDE's
- Next by Date: Re: Code completion in ada IDE's
- Previous by thread: Re: String filtering
- Next by thread: Re: String filtering
- Index(es):