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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-05 08:34:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!feed.textport.net!out.nntp.be!propagator-SanJose!news-in-sanjose!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9pgr68$7pu1@news.cis.okstate.edu> <3bbd6287.346843109@news.cis.dfn.de> <9pkco7$9qe1@news.cis.okstate.edu> Subject: Re: ada vs. cpp Message-ID: <_pkv7.17320$ev2.27418@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 05 Oct 2001 11:34:18 EDT Organization: http://www.newsranger.com Date: Fri, 05 Oct 2001 15:34:18 GMT Xref: archiver1.google.com comp.lang.ada:13797 Date: 2001-10-05T15:34:18+00:00 List-Id: In article <9pkco7$9qe1@news.cis.okstate.edu>, David Starner says... > >On Fri, 05 Oct 2001 07:50:09 GMT, Dmitry Kazakov wrote: >> In any case, as many have pointed, it is a bit ridiculous to compare >> Ada's strings with C++ having no strings at all. > >What's with Ada people going "they designed foo differently, so they >don't have foo at all"? C/C++ people can certainly input and process >string data, and that's what matters, not whether it's a null-terminated >array or a double-linked list of pointers to characters. Well, in Dmitry's defense, I'd certianly be willing to defend the statement that Ada's string support is superior to C++'s. (In fact, I have defended it on occasion). I think for *dynamic* string support its a wash. But for dealing with fixed-size stack-based strings, Ada has it all over C++. Since this is generally much faster than dealing with dynamic strings, this isn't an insignificant point. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.