New Class and If Else
I will create an interface, an implementation class, a factory implementation and a factory interface, for possible future customization. I'll also use the visitor pattern to decide the method call. Of course I will use our dependency injection framework for easy wiring, but I need to make sure the classes are stateless so that I can configure the same instance to be injected in all places so that the code is optimized in this very specific way I will use a new class and an if/else I will use a new class and an if/else 34% 34% 14% 14% 2% 2% 0.1% 0.1% 55 70 85 100 115 130 145
A bell-curve meme contrasts a simple programmer who uses a new class and an if/else with an overcomplicating programmer who designs interfaces, factories, visitor patterns, dependency injection, and stateless classes for a tiny problem. The joke is that both the least experienced and most overengineered approaches reach the same simple solution, while the moderately experienced programmer recognizes the unnecessary complexity. EN: A bell-curve meme contrasts a simple programmer who uses a new class and an if/else with an overcomplicating programmer who designs interfaces, factories, visitor patterns, dependency injection, and stateless classes for a tiny problem. The joke is that both the least experienced and most overengineered approaches reach the same simple solution, while the moderately experienced programmer recognizes the unnecessary complexity.
- @gentoomemes / 994 2022-09-26
- @right_wing_dev_squads / 7017 2023-06-25
- Template
- IQ bell curve meme
- Type
- image
- Size
- 800×646 · 88.0 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added