Refactoring your code is a continuous process. It should not be limited to just the application code. In this chapter we will cover:
We have been harping on about clean code for a while now. Let's take a moment to define what exactly clean code is.
Very simply put, clean code is simple code: no gimmicks, no short cuts, and easy to understand. It should pass all the tests and should not have any duplication. It contains the minimum number of moving parts.