• 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: Encoding infinite loops
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encoding infinite loops


  • Subject: Re: Encoding infinite loops
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 23 May 2007 01:42:19 +0200

On 23.05.2007, at 01:05, Chris Kane wrote:
However, detecting this only when the document is later loaded (and having the attempt fail) does not seem very satisfying. The user saved their document and can't reopen it. But, the archiver, while it knows when recursion occurs, can't detect this situation (not all recursion is evil). I suppose you could say, though, that the developer would presumably discover this problem in writing/testing their app, before the situation gets to the end user.

Yes, that would at least make it easier on the developer than having weird crashes because some object got released or only partially constructed. There would be a chance of finding this during development or later through an obviously visible failure to load certain files. Also, a warning in the reference docs that links to a description of the problem would also help developers avoid and track down this issue.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Encoding infinite loops (From: Will Thimbleby <email@hidden>)
 >Re: Encoding infinite loops (From: Chris Kane <email@hidden>)
 >Re: Encoding infinite loops (From: Uli Kusterer <email@hidden>)
 >Re: Encoding infinite loops (From: Chris Kane <email@hidden>)
 >Re: Encoding infinite loops (From: Uli Kusterer <email@hidden>)
 >Re: Encoding infinite loops (From: Chris Kane <email@hidden>)

  • Prev by Date: Re: Problem Displaying a Sheet During Drag-and-Drop
  • Next by Date: Re: Better way than GetNextProcess()?
  • Previous by thread: Re: Encoding infinite loops
  • Next by thread: notifications
  • Index(es):
    • Date
    • Thread