Code Smell 64 - Inappropriate Intimacy
*Two classes entangled in love.
Bad Responsibilities Assignments
Class Interfaces too Public
Some linters graph class relations and protocol dependency. Analyzing the collaboration graph we can infer rules and hints.
It two classes are too related and don't talk much to others we might need to split, merge or refactor them,
Classes should know as little about each other as possible.
Code Smell 63 - Feature Envy
Maxi Contieri ⭐⭐⭐ ・ Mar 23 '21 ・ 2 min read
Photo by Becca Tapert on Unsplash
No matter how slow you are writing clean code, you will always be slower if you make a mess.
Top comments (0)