Description
In this course, you will :
- Learn why and when to use the Singleton pattern.
- Recognize the behaviour of a struct singleton.
- Recognize the behaviour of a class singleton.
- Recognize the critical engineering behind these coding decisions.
Syllabus :
1. Why Use A Singleton?
- Why use the singleton design pattern?
2. Struct Singletons Explained
- The struct singleton
- Breaking architecture
3. Class Singletons Explained
- The class singleton
- Non-breaking architecture