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
  • PrintPrint
Share this Page URL
Help

4. Test and Deploy > Errors & Exceptions

Errors & Exceptions

image

Under the general heading of “things that can go wrong with your program”, there are two that you need to worry about as part of the development process.

Bugs

image

BUGS are the things you need to try to find before you deploy. We’ll concentrate on fixing bugs (debugging) in this chapter. There are three types of bugs that you need to worry about:

SYNTAX ERRORS are the typos of the programming world. They’re easier to avoid now that we have Intellisense, but they can still happen.

image

image

COMPILATION ERRORS are halfway between syntax errors and logical errors. Just as the spell-checker in a word processor won’t know that you meant to type “through”, not “though”, but the grammar-checker probably will, the editor won’t catch these errors, but the compiler will.


  

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
  • PrintPrint