Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!igor!rutabaga!jls From: jls@rutabaga.Rational.COM (Jim Showalter) Newsgroups: comp.object Subject: Re: CHALLENGE: typing and reusability (was: Re: blip) Message-ID: Date: 29 Mar 91 21:39:30 GMT References: <1991Mar26.005805.1914@kodak.kodak.com> <1991Mar27.040253.17343@leland.Stanford.EDU> <1058@denver.alc.com> Sender: news@Rational.COM Lines: 38 >You mean I never gets program crash If I write program in C,C++,Fortran,Ada? >The core dump I got yesterday when my simple 'C' program crashed is total illusion? I never said that (particularly with respect to C, which I tend to ASSUME is going to core dump when executed). Stop putting words in my mouth. >This is most illogical, crude, stupid and absurd statement I seen for long time. I never said it. You conjured up a straw man I never said, then beat me over the head for how illogical, crude, stupid, and absurd the straw man was. If anything here is illogical, crude, stupid, and absurd, it is your debating skill. >Given any language/environment you will have possibility of generating error which >was not forceen. In case of dynamic-type languages, it could be >MNU(Message Not Understood) or variants; In static-typed languages, it could be >pointer zapping(which is more catastrophic) or run-away recursion(which eats >all available memory, have you seen Unix when all swap-swap is gone?, it is not >pretty!), or end-less loop creating infinite processes?. Spurious. In a statically-typed language, you can indeed pointer-zap, infinitely recurse, etc. You can ALSO do those same things in a dynamically typed language, and, in addition, you get--at no extra charge--at least one MORE way to screw up. I don't view this as a strong argument in favor of dynamically typed languages. >This concludes proof that errors result from dynamic-typed language is harmless since >they cany only do 'limited' amount of damage!. You mean like making a $100 million satellite spiral into the sun? -- ***** DISCLAIMER: The opinions expressed herein are my own, except in the realm of software engineering, in which case I've borrowed them from incredibly smart people.