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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,640b65cbfbab7216 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada.Bounded_Strings Date: Fri, 4 Apr 2008 23:55:56 -0500 Organization: Jacob's private Usenet server Message-ID: References: <47F26C46.3010607@obry.net> <44d88b93-6a90-4c18-8785-2164934ba700@a9g2000prl.googlegroups.com> <47F652F7.9050502@obry.net> <444c0bf9-a2ad-4280-8d69-58d59938f69e@d2g2000pra.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1207371375 22141 69.95.181.76 (5 Apr 2008 04:56:15 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 5 Apr 2008 04:56:15 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1914 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 Xref: g2news1.google.com comp.lang.ada:20830 Date: 2008-04-04T23:55:56-05:00 List-Id: "Adam Beneschan" wrote in message news:444c0bf9-a2ad-4280-8d69-58d59938f69e@d2g2000pra.googlegroups.com... ... > Again, this doesn't sound reasonable in the context of the sort of > "business applications" that I used to work on in COBOL. For other > types of applications, it's probably OK, or Ada.Strings.Unbounded may > be best. The reason I'm even thinking about all this is that I had > been hoping for a number of years now that Ada would be able to make > inroads into "business" applications and maybe be seen as an > alternative to COBOL, and I'm a bit disappointed that, AFAIK, nothing > or very little has happened in that arena. Not that I think > Ada.Strings.Bounded is a major reason for this, or that providing a > better string-handling facility would help at all. (shrug) I think that the inability to write a package that "naturally" uses literals (and possibly indexing and slicing) for a private type are also large impediments. (Worse, the current string packages cannot be retrofitted to use such a capability even if it was added to Ada, lessening the possibility of doing that.) Net-net, I think the string packages are a disaster: just good enough to prevent them from being properly replaced, but not good enough to use in a natural way. (And Ada doesn't do anything useful to support UTF-8, which doesn't help matters any.) Randy.