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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d5b211b0c1ffcf3e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.220.230 with SMTP id pz6mr3862273pbc.3.1339284023192; Sat, 09 Jun 2012 16:20:23 -0700 (PDT) Path: l9ni35323pbj.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: darkestkhan Newsgroups: comp.lang.ada Subject: Re: Practicalities of Ada for app development Date: Sat, 9 Jun 2012 16:18:20 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8dcde661-2de0-454a-b126-cb930e8248d3@googlegroups.com> References: <79c5c9f7-4b72-4990-8961-b3e2db4db79b@qz1g2000pbc.googlegroups.com> NNTP-Posting-Host: 178.212.31.133 Mime-Version: 1.0 X-Trace: posting.google.com 1339284023 17250 127.0.0.1 (9 Jun 2012 23:20:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 9 Jun 2012 23:20:23 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.212.31.133; posting-account=nuF4hQoAAADjc2KKS1rOkzxWWEmaDrvx User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-06-09T16:18:20-07:00 List-Id: On Saturday, June 9, 2012 9:25:05 AM UTC, Nomen Nescio wrote: > wrp wrote: > > > > I develop small to medium sized tools. Tasks are mostly limited to > > text processing, database management, and simple visualization. > > Ada is lousy for text/string manipulation. Although I'm an Ada > enthusiast, I cannot think of a worse language in this regard. The > string library is feature-poor, so you'll find yourself writing basic > libraries for constructs that are included in many languages. > > Ada is (by design) a safe language. But the side effect is that > strings are arrays of characters and the developer is forced to be > mindful of boundaries.. bogged down with detail. Why not use Unbounded_Strings then? Then it wouldn't be "array of character". And I don't think that Ada's string manipulation routines are that bad - we have all the important subprograms and only when you have some specialized use case you are in need of writing your own subprogram. The only thing I can whine about in this regard is UTF8 support. But that is the case for C too. And for many other languages too.