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-Thread: 103376,42e401e32683b965 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!feeder.erje.net!news.doubleslash.org!open-news-network.org!news.teledata-fn.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 16 Apr 2010 18:52:24 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: A new notion: stronglly-typed-by-user language References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4bc895c9$0$6975$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 16 Apr 2010 18:52:25 CEST NNTP-Posting-Host: 80f5136a.newsspool4.arcor-online.net X-Trace: DXC=JLh>_cHTX3jMKP3<\T Maciej Sobczak schrieb: >> I generally conclude my presentations of Ada with two quotes. The first >> one is from K&R, in one of the first books about C: > > Let's focus on recent C++ standard instead of early versions of C. The necessity to use C types is what the cited article defines as "weak", I think. There is a glossary. IIUC, a C(++) int and another C(++) int might be logically unrelated, yet they tend to be of the same type. A Current and a Count might be logically unrelated, and they tend to be of different types in Ada, though both are integer types. If backwards compatibility could be made an option instead of a drag, int<...> made a template, how much of the trouble might this remove, how well can it be integrated with the STL, ...