In this article, as is clear from the title today is about the Adapter design pattern, the name of which can be guessed enables the cooperation of objects that do not match each other 🙂
Today, about an abstract factory and its types, a simple factory and a factory method. It will be a long lesson because it’s a bit to discuss, let’s do it 🙂
In this lesson about the Builder design pattern, or rather two of its types, which apply to the way of creating a class object, and creating an object from other objects. More details in the article.
Today we will describe the first design pattern or rather anti-pattern, it is officially a design pattern, but for many it is also considered by me as anti-pattern, because it has many disadvantages that we will tell you about, but still is useful for some applications.
In this lesson we will discuss what the design patterns, the types of design patterns are and in the next lesson I will talk about the first (Anti) pattern, singleton, personally, in most cases I do not recommend using it. Why not? We’ll get to that 🙂