> ANALYSIS_OF: GURU:_COHESION_FIRST_–_WHAT_A_PROCEDURE_SHOULD_BE_RESPONSIBLE_FOR_
Cohesion is a fundamental principle in software design that dictates how closely related the responsibilities of a procedure should be. In the context of IBM i (AS/400) systems, understanding and implementing high cohesion within procedures enhances both performance and maintainability. A procedure must focus on a single task or closely related tasks, ensuring that its purpose is clear and its implementation straightforward.
- High cohesion leads to easier debugging and testing, as each procedure can be evaluated independently.
- It promotes code reuse, as procedures designed with specific responsibilities can be utilized across different applications.
- High cohesion simplifies the onboarding process for new developers, as they can quickly grasp the functionality of a well-defined procedure.
SOURCE: IT Jungle
[ ACCESS_EXTERNAL_SOURCE ]