Singleton

- 1 min

How do you provide global variables in languages without global variables? You don’t. Your programs will thank you for taking the time about design instead.

Beck, in Test-Driven Development By Example. The best Singleton Pattern definition I have seen so far.

Vinicius Gomes

Vinicius Gomes

Software Developer

comments powered by Disqus
rss facebook twitter github youtube mail spotify instagram linkedin google pinterest medium