What Is a Singleton?
An introduction to the singleton design pattern and common implementations
Published in
2 min readJul 31, 2019
Introduction
The singleton design pattern restricts the instantiation of a class to a single instance. This is done in order to provide coordinated access to a certain resource, throughout an entire software system. Through this design pattern, the singleton class…