• 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: Strong language about Cocoa and Qt.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strong language about Cocoa and Qt.


  • Subject: Re: Strong language about Cocoa and Qt.
  • From: Neil Tiffin <email@hidden>
  • Date: Wed, 2 Jul 2003 06:37:26 -0400

At 1:48 AM -0500 7/2/03, Eugene Lee wrote:
On Tue, Jul 01, 2003 at 11:57:32PM +0200, Marco Scheurer wrote:
:
: An uncaught exception in Objective-C kills the program too. Catching
: exceptions as to not to crash the program has nothing to do with the
: language, but how it is used (you could do the same thing in C++). And
: crashing or not a deployed application is an engineering tradeoff.
: There could be good reasons not to crash after all. The current
: operation has probably failed, but the app might still be usable in
: it's next passage in the run loop. I agree that a quietly writing
: something in the error log is not very user-friendly, but then crashing
: is even less user friendly, if more informative that something went
: wrong.

I guess the question comes down to a question of whether it's better for
a program to crash or to continue running with an increased possibility
of outputting less correct results.

An uncaught exception infers a situation not considered by the developer, not necessarily incorrect input. The output, correct or not depends on the robustness of the code.

Neil
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Strong language about Cocoa and Qt.
      • From: Keith Bauer <email@hidden>
References: 
 >Re: Strong language about Cocoa and Qt. (From: Rich Warren <email@hidden>)
 >Re: Strong language about Cocoa and Qt. (From: Marco Scheurer <email@hidden>)
 >Re: Strong language about Cocoa and Qt. (From: Eugene Lee <email@hidden>)

  • Prev by Date: Static vs. Dynamic typing
  • Next by Date: Re: Strong language about Cocoa and Qt.
  • Previous by thread: Re: Static vs. Dynamic typing
  • Next by thread: Re: Strong language about Cocoa and Qt.
  • Index(es):
    • Date
    • Thread