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: Nick Leaton Subject: Re: OO, C++, and something much better! Date: 1997/01/29 Message-ID: <32EF204E.2283@calfp.co.uk>#1/1 X-Deja-AN: 212962402 x-nntp-posting-host: calfp.demon.co.uk references: <32DF458F.4D5C@concentric.net> <32DF94DC.6FF8@watson.ibm.com> <32DFD972.37E4@concentric.net> <5bphq4$5js@mulga.cs.mu.OZ.AU> <32E05FAF.47BA@concentric.net> <5buodl$bci@boursy.news.erols.com> <32E2FEC7.2F7B@concentric.net> <5bvncj$gqg$1@A-abe.resnet.ucsb.edu> <32E47B4B.56D9@concentric.net> <5c4fr0$27j@mulga.cs.mu.OZ.AU> <32E67751.4AFC@parcplace.com> <5caqo5$k5l@mulga.cs.mu.OZ.AU> <5clodh$3io$1@newsfeed.ftn.net> content-type: text/plain; charset=us-ascii mime-version: 1.0 newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object x-mailer: Mozilla 3.0Gold (X11; I; SunOS 5.5 sun4m) Date: 1997-01-29T00:00:00+00:00 List-Id: Alan Knight wrote: > In fact, from a casual glance, I see only one class of errors that I would > classify as a type error in Smalltalk. > > > - argument has wrong type: 7 > > out of 155 that's 4.5%, somewhat above the 2% quoted by some of the other > posters, but probably within the limits of precision. Of course, many of those > errors also get caught the first time the code is run too. Here's how I'd > account for the others listed But this is dependent on the way you test your code! You may not have covered your code completely, and the order of execution may give different results, error in one case, ok in others. -- Nick