From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada.Strings.Unbounded vs Ada.Containers.Indefinite_Holders Date: Mon, 2 Oct 2017 19:15:55 -0500 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Tue, 3 Oct 2017 00:23:59 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="20860"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:48300 Date: 2017-10-02T19:15:55-05:00 List-Id: "Jeffrey R. Carter" 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.