I'm planning to write a group of related posts that describe techniques to write cohesive and loosely coupled code. I strongly believe that these are the two critical measures of flexible code.
Since this topic has already been covered well by people much smarter than me, I'll just point you to this wonderful description of Coupling and Cohesion.
Comments