If only I used Test Driven Development.
Author: programmingmemes
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.
Programming State meme
The state of a class is composed from all the properties of that class that are changeable or mutable.
When you tell starters that comments are lies meme
Comments are bad.
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.
Programmer guarding against returning using parameters meme
Parameters are input, not output
Discussions about parameters during code review meme
People fighting durign code review. Original Programmer vs His team, Parameters and refactoring.
Variable Names meme
Good variable name, wow, such intent, much information, very expressing.