Definition (Code Smells) Code smells are common code anti-patterns which could and should be refactored.
This doc is summarized from Martin Flower's book Refactoring (the 2nd Edition).
- You may inverse previous refactorings as software grows
- You may change names of a function/parameter/varible/... as you learn
Go to a section of code smell, and the refactoring techniques to that smell are written in Pascal Case
under the Solution section. Refer to the book's catalog to get detailed examples and explainations for each refactoring technique.