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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868292008c639ce,start X-Google-Attributes: gid103376,public From: Wes Groleau Subject: C vs. Ada - strings Date: 2000/05/02 Message-ID: <390F0D93.F835FAD9@ftw.rsc.raytheon.com>#1/1 X-Deja-AN: 618336815 Content-Transfer-Encoding: 7bit X-Accept-Language: en,es,fr,pt Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 957287907 151.168.144.162 (Tue, 02 May 2000 13:18:27 EDT) Organization: Raytheon Company MIME-Version: 1.0 NNTP-Posting-Date: Tue, 02 May 2000 13:18:27 EDT Newsgroups: comp.lang.ada Date: 2000-05-02T00:00:00+00:00 List-Id: > In fact, C-style strings are quite primitive, and quite painful to work > with, even compared to Ada 83 strings. Two offices adjoining mine are occupied by persons fond of saying "Ada strings suck" Much as I prefer Ada in general, if it weren't for the Ada 95 string packages, I'd have to agree with them on this point. I've had to twice write packages similar to the Ada 95 string packages to avoid imitating other folks who continually re-invent the same string handling logic over and over. I even saw one Ada file that had three different algorithms IN THE SAME FILE for removing leading and trailing blanks from a string. -- Wes Groleau http://freepages.genealogy.rootsweb.com/~wgroleau