OZOmama Zainabinomamazainab.hashnode.dev·Aug 18, 2021 · 4 min readPart 07: Adapter Design PatternAdapter design pattern is a structural design pattern. It helps one interface of an object or class to be translated into another interface to make it compatible with the system. It has three participants, adapter, adaptee and the target. The target ...02ES
OZOmama Zainabinomamazainab.hashnode.dev·Aug 13, 2021 · 5 min readPart 06: Decorator Design PatternWhat Is A Decorator Design Pattern Decorator is a structural design pattern, structural design patterns gather objects and classes together in a larger structure while keeping it well organized and flexible. Decorator design pattern allows you to mo...00
OZOmama Zainabinomamazainab.hashnode.dev·Aug 9, 2021 · 4 min readPart 05 : Observer Design PatternObserver design pattern is a behavioral design pattern. There are two types of objects involved in observer design pattern, subject and observer. The subject object maintains a list of observer objects which depend on the subject and notifies observ...00
OZOmama Zainabinomamazainab.hashnode.dev·Aug 7, 2021 · 5 min readObjects : The BasicsIntroduction Before getting into object oriented learning, first we need to understand that why do we have a paradigm, a means of organizing code. Suppose we have a thousand lines of code, we would not want it to run in a procedural manner, one comma...00
OZOmama Zainabinomamazainab.hashnode.dev·Aug 5, 2021 · 3 min readPart 04: Strategy Design PatternStrategy is a behavioral design Pattern, it lets you define a family of algorithms for a particular task, put them in different classes and use their objects interchangeably. Suppose we have a single class that performs a lot of actions, the class w...01A