Re: Static vs. Dynamic typing
Re: Static vs. Dynamic typing
- Subject: Re: Static vs. Dynamic typing
- From: Tim Ramsey <email@hidden>
- Date: Wed, 2 Jul 2003 15:32:18 -0500
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.
Precisely. However, once the app is in the end of the user, I think
it makes more sense to continue than to crash.
Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
This might be OK depending on the nature of the application, but in
many situations it is a very dangerous position. In many cases it is
better to crash outright than to continue with a subtly wrong answer.
Suppose we are talking about a scientific or accounting application.
It could be very bad for the user to find out weeks later that he/she
has been using the wrong value for an important number. Far better to
crash immediately and have a known problem than to deal with the
consequences of using the wrong value. Conversely, if we are talking
about a drawing application, and the user can become satisfied with
his result regardless of a transient error, everything is fine.
The bottom line to me is that one must look carefully at the
potential consequences of software errors. I don't think there is one
right answer for this issue.
--
Tim
The reasonable man adapts himself to the world; the unreasonable one
persists to adapt the world to himself. Therefore all progress depends on
the unreasonable man. -George Bernard Shaw, writer, Nobel laureate
(1856-1950)
_______________________________________________
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.