Design Patterns: Singleton | Explanation and Code in both Python and Java

Published: 13 February 2021
on channel: Programming Life
335
9

With this video we will start a new series of videos to learn how to become better Software Engineers by understanding Design Patterns. We will kick-off this series with the Singleton Design Pattern.

There are multiple ways of implementing the Singleton Pattern and in this video I used the most common ones. If you want to go more in depth and check more implementations follow this link: https://refactoring.guru/design-patte...

Contents of this video:
0:00 Intro
0:45 Design Patterns Classification
1:10 Singleton Pattern Keynote
7:10 Python Naive Implementation
11:58 Python Multithreaded Implementation
16:04 Java Naive Implementation
19:06 Java Multithreaded Implementation

_______
Personal Website: http://www.programminglife.io
Instagram:   / programminglife.io  
GitHub: https://github.com/andreivisan