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,d89b08801f2aacae X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-30 12:01:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Is strong typing worth the cost? Date: Tue, 30 Apr 2002 19:01:58 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <4519e058.0204290722.2189008@posting.google.com> <3CCE8523.6F2E721C@earthlink.net> <3CCEB246.9090009@worldnet.att.net> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1020193318 11877 129.241.83.82 (30 Apr 2002 19:01:58 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 30 Apr 2002 19:01:58 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:23291 Date: 2002-04-30T19:01:58+00:00 List-Id: On Tue, 30 Apr 2002 16:48:18 GMT, dmjones wrote: > > Who mentioned safe and correct? This is avoiding the base > issue. Where is the evidence of a worthwhile cost/benefit > for strong typing? If you want to write unsafe and non-correct programs that has a lot of bugs and crash a lot, strong typed languages would not be the right choice for you. A weak typed language would be much more cost efficient to use to write such a program. For one the compilor of a weak typed language would pass a lot more bugs at compiletime. At least one cost/benefit of strong typing is that you save a lot of time chasing odd bugs with your debugger. The compiler has a lot more information to go on in order to track down bugs. Therefore it will be able to tell you about them when you compile. But I guess you are not looking for this either. So please sit down think about it and come with a question that is such that we can understand what it is that you are asking. Preben -- "Jeg tror nordmenn har glemt hvordan de tilbreder fisk. De er mest opptatt av firkantet fisk." -- Kristian Kristiansen, yrkesfisker, aftenposten.no 19/04/02