Refactoring
Contents
Introduction
Code Smells
Code smells indicate that the code needs to be refactored. This means that, while refactoring code, we need to find and get rid of code smells. This will allow more speed and quality in the development. Code will become hard to maintain and dirty, and features will require more time to implement. The team will feel that it would be better to start the project from scratch instead of evolving the current project.
Bloaters
Bloaters are big code. It can be methods, classes, functions and any other code that has grown significantly that they become hard to work with. When nobody cleans this code, it becomes bigger and bigger, and its complexity increases.
Some bloaters are:
- Long Method
- Large Class
- Primitive Obsession
- Long Parameter List
- Data Clumps
Object-Orientation Abusers
Work in progress here.