Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Q&A

Q. What changes in error handling have occurred in the last few years?

A. Apps are becoming less verbose as they handle issues on their own without bothering users.

Q. How can you prevent exceptions?

A. Typical methods are to check for dangling or nil pointers before dereferencing them and making certain that objects exist. If you are worried about performance, test with and without these small tests. Typically, unless you are in a very tight loop, there is no reason not to make these basic tests.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint