From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada.Strings.Unbounded vs Ada.Containers.Indefinite_Holders
Date: Mon, 2 Oct 2017 19:15:55 -0500
Date: 2017-10-02T19:15:55-05:00 [thread overview]
Message-ID: <oqulav$kbs$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: oq58qb$o3s$1@dont-email.me
"Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> wrote in message
news:oq58qb$o3s$1@dont-email.me...
> On 09/23/2017 10:09 AM, Dmitry A. Kazakov wrote:
>> On 2017-09-23 00:15, Victor Porton wrote:
>>>
>>> In my opinion, it would be better to change RM phrasing from "null
>>> string"
>>> to "empty string", because in some other languages (notably C) NULL
>>> means
>>> something other. It is just confusing.
....
> It's called overloading. Many of these cases refer to things that can have
> components and mean one with zero components: a null record has no
> components, a null array has no components ('Length = 0), a null string
> literal has no characters, a null set has no members, ... It should not be
> confusing.
And it also shows the amount of change needed to actually make such a change
to the RM. It would be a lot of change for (at most) not much value, so it
wouldn't be a very good use of scarce resources.
Randy.
prev parent reply other threads:[~2017-10-03 0:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 18:14 Ada.Strings.Unbounded vs Ada.Containers.Indefinite_Holders Victor Porton
2017-09-21 21:30 ` AdaMagica
2017-09-22 12:16 ` Victor Porton
2017-09-22 19:25 ` Simon Wright
2017-09-22 22:15 ` Victor Porton
2017-09-23 8:09 ` Dmitry A. Kazakov
2017-09-23 9:16 ` Jeffrey R. Carter
2017-10-03 0:15 ` Randy Brukardt [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox