Software Design Patterns Are Not Goals, They Are Tools
It probably seems like an obvious statement to a lot of HN, but I have a feeling that it isn&#x27;t to the majority of developers, who for some reason appear to love immense complexity and solving simple problems with complex solutions. I think a lot of them started with OO, which immediately raises their perception of what is &quot;normal&quot; complexity --- at that point, they&#x27;re already creating more abstraction than is really necessary. Then they learn about design patterns and all the accompanying &quot;hype&quot; around them, so they think &quot;awesome, something new and shiny to use in my code!&quot; and start putting them in whenever they can, I guess because it feels productive to be creating lots of classes and methods and hooking everything together. It&#x27;s easier to dogmatically apply design patterns and generate code mindlessly than to think about what the problem actually needs to solve it. The result is code that they think fulfills all the buzzwordy traits of &quot;good software engineering practice&quot; (robustness, maintainability, extensibility, scalability, understandability, etc.), but in reality is an overengineered brittle monstrosity that is only extensible in the specific ways thought of when it was first designed. That almost never turns out to be the case, so even more abstractions are added (including design patterns) on the next change, on the belief that it will help with the change after that, while leaving the existing useless ones in, and the system grows in complexity massively.<p>I did not start with OO, I never read the GoF book, and don&#x27;t really get the obsession with design patterns and everything surrounding them. I&#x27;ve surprised a lot of others who likely have, by showing them how simple the solutions to some problems can be. Perhaps it&#x27;s the education of programmers that is to blame for this.<p>The statement could be generalised to &quot;software is not a goal, it is a tool&quot;.<p>Related article: <a href="https:&#x2F;&#x2F;blog.codinghorror.com&#x2F;head-first-design-patterns&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.codinghorror.com&#x2F;head-first-design-patterns&#x2F;</a>