10.6 Working with existing code.

When you need to change code which already exists, there’s good news and there’s bad news. The good news is that it can save you some work because you don’t have to start from scratch. The bad news: as long as you don’t understand what’s already there, you are bound to make mistakes. It can be hard to start working with code you didn’t write yourself, but here’s a few suggestions to get you started.

When you’re working with classes and you feel you’re stuck, ask yourself these question to get on your way: