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-05-06 09:30:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3CD6AFBB.C98E1BDF@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Is strong typing worth the cost? References: <4519e058.0204290722.2189008@posting.google.com> <3CCE8523.6F2E721C@earthlink.net> <3CCEB246.9090009@worldnet.att.net> <3CCFD76A.A60BB9A8@flash.net> <3CD0A3B8.7B7C8622@san.rr.com> <3CD15FAE.6DEE0AD@despammed.com> <3CD16B60.93078396@san.rr.com> <3CD1B496.DBE8ADC4@san.rr.com> <3CD1BACC.8938FEAB@despammed.com> <3CD1D17B.F60DCB89@san.rr.com> <3CD2AD5F.93BB740A@despammed.com> <3CD2B952.44E58DF6@san.rr.com> <3CD6A250.875BD736@despammed.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 06 May 2002 16:30:31 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1020702631 66.75.151.160 (Mon, 06 May 2002 09:30:31 PDT) NNTP-Posting-Date: Mon, 06 May 2002 09:30:31 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:23590 Date: 2002-05-06T16:30:31+00:00 List-Id: Wes Groleau wrote: > > > > It can > > > even be something that you KNOW will fail--in > > > which case, why waste time running the test? > > > > Because you *don't* know it will fail. And perhaps adding that > > declaration made some *other* test fail. So now you know it was the very > > If it's a stub, you _do_ know it will fail. Only if you write the stub. See, in Smalltalk, everything's an object. So maybe the parent class already takes care of this. Or, in another case, maybe you're writing code to handle (say) misformatted records, and there aren't any misformatted records in your data. You can check the XP sites for other real live examples of where folks thought the test would fail and it didn't. Anyway, this is the XP philosophy. I can't say it's right. I'm just saying that strong typing makes it harder to do it. > And if you aren't sure whether a stub will > break something it doesn't call, you REALLY > chose the wrong language. Again, OO. If you implement something broken that overrides something working, you're going to break something, yes? > I don't base my opinion on it. I just couldn't help > but notice the obvious marketing technique in the very > statement that puts down marketing. I think what they were trying to say is that they're giving you real experience rather than simply saying "here's something that ought to work." That is, if I remember right the paper you're talking about. -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. The 90/10 rule of toothpaste: the last 10% of the tube lasts as long as the first 90%.