3 ms·
You see that in OOP codebases where the authors don't know any compositional patterns. Then the only way to thread logic together is statically, so singletons a
by BlackFly 3y ago
You see that in OOP codebases where the authors don't know any compositional patterns. Then the only way to thread logic together is statically, so singletons and the enums like you mention.
- starbugs 3y agoThose that don’t know these patterns are way less of a problem than those who know them, know that it would be better to use them, but reject to do so. Because they are effectively lazy and don’t care about other people that have to work with their code in the future. Unfortunately, there are many of those. What I often find is that management in organizations rewards these people because they get quick results. The cost to the customer and the team is well hidden until it’s too late.