#############################
Video Source: www.youtube.com/watch?v=oROIXOLO4TU
In this video, we will discuss about the singleton design pattern. What is the problem it solves, the code structure of the pattern and code example of using this pattern. • Recommended readings: • Clean Architecture: A Craftsman's Guide to Software Structure and Design : https://amzn.to/3VLJaXc • Design Patterns: Elements of Reusable Object-Oriented Software: https://amzn.to/3B4zr4P • Head First Design Patterns: https://amzn.to/3B4ZTLJ • Singleton is a creational design pattern, which ensures that only one object of its kind exists and provides a single point of access to it for any other code. • Topics covered: • Introduction to Singleton design pattern • Problem statement • Solution provided • Code Structure • C# Code example • Lazy implementation • Double checked locking • #designpatterns #cleancode • --------------------------------------------------------------------------------------------- • My setup: • Mic: https://amzn.to/44HGe1H • Laptop: https://amzn.to/3pclzTe • Keyboard: https://amzn.to/3B3e3Nn • Mouse: https://amzn.to/3VLKB82
#############################
New on site