Humans get bored beyond line 10.
- Low Cohesion
- High coupling
- Difficult to read
2) Create small objects dealing with some of the tasks. Unit test them.
3) Compose methods
All linters can measure and warn when methods are larger than a predefined threshold.
- Long Method
This article is part of the CodeSmell Series.