Getting your hands dirty
Phase3: Evolving to the next step
The good news is you can catch nasty bugs using a test driven approach, testing all the major functionalities of your application.
Conclusions, (sort of)
- Never ever try to build your own low-level library. It will be bugged. A lot bugged. Even if you are smart.
Use as much as possible libraries with a proven track record of success. Prototype, JQuery and Underscore are some nice example and they are already here for you
- A savy mix of OOP and functional programming will give you a safe programming environment (sort of, at at least).