Design patterns is a symptom of a sick programming language
Tags: architecture, programming, beginners
Published: 2022-08-26 11:44:00

I once saw a guy proving how Lisp eliminated the need for 19 of the original 23 GoF's [design patterns](https://en.wikipedia.org/wiki/Design_Patterns) from the book called _"Design Patterns"_. 19 of the patterns explained in this book had absolutely no meaning what so ever in Lisp. Lisp was created in 1958. This implies that everything we've done in regards _"evolving"_ software development since 1958 is basically garbage. Design patterns is really nothing but a symptom of a sick programming language, period.

A broomstick is perfect. Even if you've never seen a broomstick before, you would still easily understand how to use it if you saw one. It doesn't require an instruction manual, and it doesn't require taking it out of your closet in a specific _"method"_. Everything that's good in this world share this trait; It's easy to use, self explanatory, and ads no confusion.

Most modern programming languages comes with an _"instruction manual"_ in the form of _"design patterns"_. This is because they are counter intuitive, badly designed, based upon garbage ideas, such as OOP and similar rubbish constructs. In fact, about the only _"nice"_ design pattern I've seen coming out of computing the last 4 decades is IoC. Everything else is basically a crutch for inadequacies found within the language where they are applied.

C#, Java, C++, JavaScript, they are all garbage programming languages, due to their dependency upon design patterns. Paradoxically, the good parts in JavaScript, eliminates the need for some 50% of design patterns found in Java and C#, implying everybody that has done some JavaScript development probably intuitively understands this already. Unfortunately, JavaScript also ads an additional 50% design patterns of its own, so it's just as much a garbage programming language as all others ... :/

Imagine if your book needed design patterns to be used. It could resemble something such as follows.

1. When opening the book, pray to Bulsebub 3 times, throw some water on your tree if you've got a hedge, for then to say 3 hail Marys. If you don't, the book will burst into flames and become impossible to read.
2. If turning the 4th page, make sure you get a haircut first, or page 11 will fall to the ground, and turn into a lizard, ending up eating your grain.
3. If you want to store your book in a bookshelf, make sure you create a persistence layer, based upon an `AbstractFactoryAbstractPersistenceFactoryFactory` class first, or you won't be able to use your left hand later down the road if your right hand is busy holding your beer.

The above is basically how design patterns would look like if they existed in written language and books. Still we accept the absurdity of having design patterns in software development, and we crown ourselves as if we achieved something valuable, if we can only understand them and correctly apply these where needed. Knowledge about design patterns is so important today, that landing a job without reciting the meaning of all characters in _"SOLID"_ has basically become impossible. Preferably with specific use cases, illustrating correct usage. Say after me ...

> SOLID is rubbish! It's a symptom of inferior programming languages, incapable of solving things intuitively, period!

I've used [Hyperlambda](https://aista.com/hyperlambda/) for many years. So far I have not been able to identify more than 2 to 3 design patterns I repeatedly turn to. All other design patterns are basically useless in Hyperlambda. This is because Hyperlambda is a functional programming language. It has no OOP, and none of these garbage ideas all other programming languages are competing to implement as complex as possible.

If you don't know design patterns, relax. There are no reasons to teach yourself these rubbish ideas. They were built for rubbish programming languages, based upon rubbish constructs, resulting in rubbish languages, requiring rubbish design patterns. It's much smarter to just drop the language forcing you to use 500+ design patterns, and focus on simple to use programming languages, where such rubbish design patterns are no longer required. Below is a programming language almost chemically cleansed for design patterns if you need a pointer :)

* [Hyperlambda, 100% free from Design Patterns](https://aista.com/hyperlambda/)

And you can register a free online cloudlet allowing you to play around with it below.

* [Create a Hyperlambda cloudlet](https://aista.com)

> Design patterns is a symptom of a sick programming language