Reading notes of refactoring second edition Chapter 1 - a first example Chapter 2 - principles in refactoring Chapter 3 - bad smells in code