• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Static vs. Dynamic typing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Static vs. Dynamic typing (From: Tim Ramsey <email@hidden>)

  • Prev by Date: Re: : -awakeFromNib, application_releasing ...
  • Next by Date: Re: Static vs. Dynamic typing
  • Previous by thread: Re: Static vs. Dynamic typing
  • Next by thread: Re: Static vs. Dynamic typing
  • Index(es):
    • Date
    • Thread