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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: kevin.cline@gmail.com (Kevin Cline) Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request Date: 10 Sep 2004 17:04:39 -0700 Organization: http://groups.google.com Message-ID: References: <49dc98cf.0408110556.18ae7df@posting.google.com> <413e2fbd$0$30586$626a14ce@news.free.fr> <4140b906$0$29447$636a15ce@news.free.fr> NNTP-Posting-Host: 198.23.26.253 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1094861085 32754 127.0.0.1 (11 Sep 2004 00:04:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 11 Sep 2004 00:04:45 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3574 Date: 2004-09-10T17:04:39-07:00 List-Id: Lionel Draghi wrote in message news:<4140b906$0$29447$636a15ce@news.free.fr>... > Ed Falis wrote: > > I agree to a good extent with Kevin. I tend to use test-first, > > assertions (or DbC if available) and static typing to complement each > > other. And they do. > > Is it really your opinion, Kevin? I use static typing to do as much as it can do. I'm currently coding in C# and am frustrated because collections are not type-safe so one is constantly downcasting. You have to pay for strong typing without getting the full benefit. In C++ I could go for months without writing any dynamic cast. I used to value it highly, but have recently changed my opinion and value the ability to rapidly switch between coding and testing more highly. > OK, I suppose it's because of my poor english that I thought you where > underestimating type usefulness :-) It's useful, but as implemented in Ada, and to almost the same extent as implemented in C++, it's also expensive.