Cohesion – The cornerstone of OO
This post was originally published here by Valtech UK consultant Sandro Mancuso.
Cohesion is probably the most important concept of Object-Oriented Programming since it promotes a good level of encapsulation, separation of concerns and responsibilities, re-usability and maintainability. DefinitionCohesion (noun) : when the members …