Tariq Rafidblog.tareqrafed.com·Oct 6, 2022Singleton Pattern in PythonSingleton is a simple, controversial yet common design pattern that all developers should be aware of If you're interested in loading this design pattern straight into your brain, understand why some developers consider it an anti-pattern well, that...Discuss·8 likes·303 readsDesign Patternsdesign patterns
Victor Linsvictor-lins.com·Jul 27, 2022GoF Creational Design PatternsIntroduction 📋 Design Pattern 🧱 A design pattern is a solution that can be repeated/use every time that a specific problem/scenario occurs in the software design. The concept behind these solutions is independent of the programming language. If we ...Discuss·111 readsdesign patterns
Victor Linsvictor-lins.com·Jul 26, 2022GoF Structural Design PatternsIntroduction 📋 Design Pattern 🧱 A design pattern is a solution that can be repeated/use every time that a specific problem/scenario occurs in the software design. The concept behind these solutions is independent of the programming language. If we ...Discuss·106 readsdesign patterns
Victor Linsvictor-lins.com·Jul 25, 2022FeaturedGoF Behavioral Design PatternsIntroduction 📋 Design Pattern 🧱 A design pattern is a solution that can be repeated/use every time that a specific problem/scenario occurs in the software design. The concept behind these solutions is independent of the programming language. If we ...Discuss·63 likes·649 readsdesign patterns
Victor Linsvictor-lins.com·Jul 24, 2022Iterator - Design PatternObjective 🎯 Provide a way to access elements of a list sequentially without exposing its underlying representation. Type ✅ ✔️Behavioral: Describes how objects interact/communicate between themselves. ❌Creational: Describes how to instantiate an obje...Discuss·103 readsdesign patterns
Victor Linsvictor-lins.com·Jul 23, 2022Proxy - Design PatternObjective 🎯 Provide a substitute for another object to control access to it. Type ✅ ❌Behavioral: Describes how objects interact/communicate between themselves. ❌Creational: Describes how to instantiate an object without large and complex. ✔️Structu...Discuss·88 readsdesign patterns
Victor Linsvictor-lins.com·Jul 22, 2022Visitor - Design PatternObjective 🎯 Provide a way of separating an algorithm from an object allowing to add/change operations at run time. Type ✅ ✔️Behavioral: Describes how objects interact/communicate between themselves. ❌Creational: Describes how to instantiate an objec...Discuss·58 readsdesign patterns
Victor Linsvictor-lins.com·Jul 21, 2022Flyweight - Design PatternObjective 🎯 Allow to put more objects into the available memory RAM by sharing common parts between multiple objects. Notes 📝 • Flyweight object has a single-instance (singleton) and can be reused by other objects. • Intrinsic state means that the...Discuss·96 readsdesign patterns
Victor Linsvictor-lins.com·Jul 20, 2022Bridge - Design PatternObjective 🎯 Allow to decouple one abstraction from its implementation so that both can vary independently, in other words, it allows to split a large class into two separate hierarchies (abstraction and implementation). Type ✅ ❌Behavioral: Describes...Discuss·64 readsgof
Victor Linsvictor-lins.com·Jul 19, 2022Prototype - Design PatternObjective 🎯 Allow to create an object from cloning another object (Prototype), to hide the complexity of making new instances and to avoid costly operations. Notes 📝 • When 2 objects have the same reference it means that they are sharing the same s...Discuss·70 readsdesign patterns