What s It All About?

What’s It All About?

This chapter has covered a great deal of ground. You learned about the different kinds of program bugs: syntax errors, runtime errors, and logical errors.

Next, I showed you some of the most common JavaScript syntax problems for which you should be watching.

Then we moved on to techniques for finding bugs generally.

We discussed how to test your programs, and I explained why testing a program is important.

Finally, I showed you the mechanics of exception handling in JavaScript using try and catch statements and the JavaScript Error object.

So what’s it all about, Alfie? (Or Austin?)

As you become a more sophisticated programmer, you’ll find it increasingly important to have a deep understanding of bugs and their causes. The more complicated and interesting the program, the more important it is to rigorously test your programs and to implement an architecture that anticipates exceptional conditions.

By working through this chapter, you’ve laid the foundation for good programming habits in these areas.

Learn How to Program Using Any Web Browser
Learn How to Program Using Any Web Browser
ISBN: 1590591135
EAN: 2147483647
Year: 2006
Pages: 115
Authors: Harold Davis

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net