Isn’t there a Design Pattern who describes how to high cohesion?
I need some guidance on how and when my classes should be split up in more classes so i get some good high cohesioned classes.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Maximising cohesion is one of the principles of good software design. Design patterns are derived from those principles. So a pattern like MVC may lead to a code base with a degree of cohesion (or at least a separation of concerns).
But High Cohesion is not a design pattern as such.