Tag: low coupling high cohesion
Do you like spaghetti code meme
Do you like spaghetti? No, I like to keep things decoupled.
Spaghetti code meme
When you are dealing with spaghetti code, trying to modify or extract a single object is frustratingly hard.
Low coupling, high cohesion: less spaghetti, less regretti meme
Low Coupling, High Cohesion is a programming principle that says that your classes should be coupled with other classes as little as possible but the cohesion inside your classes should be as high as possible.
Few parameters and small functions protecting against low cohesion and high coupling meme
Arguments also couple your method to the outside.
The more parameters your method has, the more coupled it is.