Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 289 Bytes

File metadata and controls

5 lines (3 loc) · 289 Bytes

Chapter 5: Singleton design pattern

Singleton: ensures a class has only one instance, and provides a global point of access to it.

My implementation is based this stackoverflow post.