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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5b062cdca243a886 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-01 09:21:17 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!chcgil2-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Please review and comment Date: Wed, 1 Aug 2001 19:17:18 +0300 Organization: The Hebrew University of Jerusalem Message-ID: <9k9a46$8f1$1@news.huji.ac.il> References: <3B67526E.D7E19382@worldnet.att.net> NNTP-Posting-Host: di4-22.dialin.huji.ac.il X-Trace: news.huji.ac.il 996682695 8673 132.64.14.22 (1 Aug 2001 16:18:15 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Wed, 1 Aug 2001 16:18:15 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:10956 Date: 2001-08-01T19:17:18+03:00 List-Id: Ted Dennison wrote in message news:dEU97.13861$ar1.44074@www.newsranger.com... > > I don't see anything in there explicitly about strings. That seems to be the > newbie's biggest mental stumbling block with Ada, and I'm sure they'd go looking > for it in your document. There is a section on arrays, which presumbably would > include this information. But for a newbie, I'd suspect it would be more useful > to introduce the material as "how to do strings", then later point out that many > of the same techniques (excepting of course, the ones relying on Ada.Strings.*) > work for *any* array. In fact the major problem is understanding how to (efficiently) use unconstrained array types. Strings are but an important specail case. But this issue is more in line for the FAQ than from an idiom list, which I think of as more advanced. In my idiom list what I say about strings is "use Ada.Strings.*" I alos have a docuement called "intro to Ada strings" (this was online on my previous site, I am going to put it up again sometime. Meanwhile, I can mail it if anyone wants. It is for complete beginners). Ehud