Related resources for Cohesion
  • Writing Better Code -- Keepin' it Cohesive12/4/2013 11:34:06 AM. One of the aspects of code quality we can look at is cohesion. If code is highly cohesive it is also much more testable, reusable, readable and maintainable (all the good things in life). Likewise, if code has a low level of cohesion it is often very hard to understand at a glance and difficult to test and maintain. In this article we'll take a look at a concrete example of code that does not follow the Single Responsibility Principle and as a result has low cohesion and walk through the refactoring it takes to modify the code to be more highly cohesive.
  • S.O.L.I.D Design Principles Explained : Part 28/13/2012 3:13:28 PM. Here we will discuss the second letter in the word SOLID i.e., O. O stands for OCP (Open Closed Principle).
  • S.O.L.I.D Design Principles Explained : Part 18/13/2012 2:45:19 PM. This article will cover the acronyms for SOLID and a brief introduction to Cohesion and Coupling is provided to understand the SOLID principles.