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,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!feeder2-1.proxad.net!news18-e.free.fr!not-for-mail Date: Mon, 13 Sep 2004 01:08:12 +0200 From: Lionel Draghi User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040820 Debian/1.7.2-4 X-Accept-Language: en-us, it MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request References: <49dc98cf.0408110556.18ae7df@posting.google.com> <413e2fbd$0$30586$626a14ce@news.free.fr> <4140b5cc$0$17701$626a14ce@news.free.fr> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4144d6da$0$17714$626a14ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 13 Sep 2004 01:08:10 MEST NNTP-Posting-Host: 82.64.15.8 X-Trace: 1095030490 news18-e.free.fr 17714 82.64.15.8:34734 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:3639 Date: 2004-09-13T01:08:10+02:00 List-Id: jayessay wrote: ... >> Often I don't really care what type a variable has as long as it is >>the same type as the value it takes. But with explicit typing a >>simple type change can ripple through the application forcing the >>change of many other functions. Simply changing the return type of >>a commonly used function from single precision to double precision >>may require every call of that function to be changed. That takes >>time that could be better spent on higher level pursuits. > Good description of a serious problem with static typing. Serious problem? 1 - if your float is a custom type, the type and related operators are typically declared in the same package : changing it is trivial. 2 - if you are using predifined type: too bad, but you can't comply about strong typing if you are not using it the right way. Your serious problem seems really anecdotal to me. -- Lionel Draghi