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 🙂
Today about the last and very important principle of SOLID, Dependency inversion.
Today, this lesson will be rather short, because is about the fourth principle of SOLID, the principle of segregation of interfaces.
In my opinion, the Liskov principle is the hardest to understand, others often confuse it with other principles, let’s move on to the lesson.
The second SOLID principle, open-closed, ie open to extension, closed to modifications. What is going on? About this further.
The principle of single responsibility says that each class should be responsible for one specific thing, there should be only one reason to modify the class.
In this lesson, we will discuss what SOLID principles are, why you should apply them, and on what you will practice in the next lessons.