In this short video lecture we look at some guidelines to help you design better code. In particular we look at reducing duplication, an achieving loose coupling and high cohesion by localising changes. We also discuss refactoring.
In this short video we look at errors and how to find them in your code. We discuss the difference between syntax and logical errors, and look at a variety of testing techniques - from unit testing to manual walkthroughs to debug statements - and their benefits and limitations.