concept cohesion in category gradle

appears as: cohesion, cohesion
Gradle in Action - corrected 9052019

This is an excerpt from Manning's book Gradle in Action - corrected 9052019.

6.1.1. Coupling and cohesion

Two major factors will determine how easy it is to implement separation of concerns for a project: coupling and cohesion. Coupling measures the strength of relationships between specific code artifacts like classes. Cohesion refers to the degree to which components of a module belong together. The less coupled and the higher the cohesion of your code, the easier it will be to perform the restructuring of your project. Teaching good software design practices is beyond the scope of this book, but there are two guidelines you should keep in mind: minimize coupling and maximize cohesion.