1
User
Recs.
Recs.
3
Updates
Last
Updated
Updated
Activity
There are no hard and fast rules on the length of a method - however when considering what to include in one method, and where to create and call another method, you should always think about the implications and do what makes sense.
- Aim to improve the readability of the code
- Aim to limit the potential effects of changing code within a method
- Aim to improve the testability of the code
- Aim to maximise the potential reuse of the code.
Specs
Pros
Know any positive aspects of this option?
Cons
Recommendations
Refactor as much as is sensible
Recommended 9 years ago
John hasn’t added their experience, pros or cons to their recommendation.