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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-10 04:01:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!ailinel.cbb-automation.DE!not-for-mail From: dmitry@elros.cbb-automation.de (Dmitry Kazakov) Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp Date: Wed, 10 Oct 2001 11:01:01 GMT Message-ID: <3bc40a3f.4768875@news.cis.dfn.de> References: <9pgr68$7pu1@news.cis.okstate.edu> <3bbd6287.346843109@news.cis.dfn.de> <9pkco7$9qe1@news.cis.okstate.edu> <3bc15a16.1317281@news.cis.dfn.de> <9ps9uu$a2g1@news.cis.okstate.edu> <3BC2FD54.69BA446D@sparc01.ftw.rsc.raytheon.com> <9pv54d$9aa1@news.cis.okstate.edu> NNTP-Posting-Host: ailinel.cbb-automation.de (212.79.194.99) X-Trace: fu-berlin.de 1002711661 22863055 212.79.194.99 (16 [77047]) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:14138 Date: 2001-10-10T11:01:01+00:00 List-Id: On 9 Oct 2001 15:29:17 GMT, David Starner wrote: >On Tue, 09 Oct 2001 08:36:20 -0500, Wes Groleau wrote: >> >>> Ada doesn't have integers. What does that say about Ada? >> >> Is this a troll or genuine ignorance? > >The post to which I was responding claimed that C++ doesn't have >strings. By just as valid logic, Ada doesn't have integers; there are no >types (even library types) that can represent all of the integers. 1. If you mean that Ada has no type to represent the whole set of all integers, yes it is true. [as well as it is for all other languages designed for finite discrete machines] 2. If you mean that Ada does not have an integer type that acts like C's unsigned int, then you are wrong. [see modular numeric types in Ada, which are far more generic and comfortable than their limited equivalents in C] 3. If you mean that Ada has no int-like numeric type with an undefined reaction on overflows. Well, is an undefined behaviour good? 4. If your point is that a language *has* all types [all programs, all whatsoever] one could develop using the language then well, all languages are more or less equivalent. What is not equivalent is the developing and maintenance costs [which possibly could be interesting for customers. Less interesting for them of course, is a kind of perplexity a programmer might feel when he/she must to switch from Ada to C++] >Somehow, Ada people don't like the idea; it seems to be less than >conducive to communication. Regards, Dmitry Kazakov