Thought of the day by Jimmy Nilsson
Too many chefs spoil the code.
Jimmy Nilsson
Too many chefs spoil the code.
Jimmy Nilsson
The interface inheritance enforce you to implement a method with a given signature, but it doesn’t enforce you how to implement it or to use some default behaviour!
This week I have been explaining about cohesion using materials from Prag Pub Magazine and realized something ultra very simple. The definition of cohesion is “proximity should follow dependency” which make me see that cohesion(proximity) is function of dependency. So cohesion = f(dependency) and if we want to follow Single Responsibility Principle you can just …