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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public From: fjh@murlibobo.cs.mu.OZ.AU (Fergus Henderson) Subject: Re: OO, C++, and something much better! Date: 1997/01/29 Message-ID: <5cmvle$1da@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 212943065 references: <32ED02EE.22E2@netright.com> <32ED2448.685A@parcplace.com> <32EE20A3.755D@netright.com> <5cm364$dc2@topdog.cs.umbc.edu> organization: Comp Sci, University of Melbourne newsgroups: comp.object,comp.lang.c++,comp.lang.ada,comp.lang.smalltalk,comp.lang.eiffel Date: 1997-01-29T00:00:00+00:00 List-Id: jur@topdog.cs.umbc.edu (Jacqueline U. Robertson) writes: >David Hanley wrote: >>All other things being equal, there are fewer errors that can >>happen in a static typed system, as opposed to a dynamially typed >>system. Your refusal to accept this simple arguement makes you appear >>as if you have some kind of religous attachment to your system. >> >> Let's start very simply; is the above system true or false? >> >Depends - are we including C and C++ here ? The important phrase in David Hanley's quote is "all other things being equal". Sure, you can count C and C++ as statically typed systems, but where's the corresponding dynamically typed system to compare against? Comparing C or C++ against Smalltalk certainly doesn't keep all other things equal. >In either language, I have static >type checking, but I can use casting to defeat that type checking - thus, >I get NONE of the benefits of static typing, Oh, nonsense. If you use casting in a few places, you still get the benefits of static type checking in all the places that *don't* use casts. -- Fergus Henderson | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.