Re: Static vs. Dynamic typing
Re: Static vs. Dynamic typing
- Subject: Re: Static vs. Dynamic typing
- From: Marco Scheurer <email@hidden>
- Date: Wed, 2 Jul 2003 22:20:45 +0200
On Wednesday, July 2, 2003, at 05:52 PM, Tim Ramsey wrote:
The point is to eliminate bugs before they ever get to the user. And,
I
feel, it is especially important to eliminate elusive or intermittent
bugs,
since these will be the hardest ones to track down later.
I could not agree more. I have found bugs in programs that have been
running, bug-free as far as anyone knew, for as long as seven years.
They were caused by unlikely but valid parameter combinations and/or
computational paths. Debugging was typically very time consuming once
their existence was known.
Even if this was detected thanks to a crash following an exception it
proves nothing. A raised exception is only one of the thing that can go
wrong in a running program. There are many ways of having buggy
behaviour, corrupted data, and so on without an exception. As long as
you do not detect all these errors when they happen (maybe using a
assertions everywhere), why would you decide that a particular kind of
error, a raised exception, qualifies to crash the program? It may very
well be more innocuous than any other possible error.
Marco Scheurer
Sen:te, Lausanne, Switzerland
http://www.sente.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.