Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 179 Bytes

File metadata and controls

5 lines (3 loc) · 179 Bytes

Singleton

Singleton pattern is only a way of making object to be instantiated only once.

This is good for expensive instance that you don't want to be created more than once.