Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The true nature of the Singleton pattern

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

The true nature of the Singleton pattern

My lightning talk from SCNA 2013 in which I explain (in 5 minutes) why this is a pattern not a class and describe the various concerns that constitute this pattern: policy, environment, mechanism and subject.

Avatar for Ade Oshineye

Ade Oshineye PRO

November 09, 2013
Tweet

More Decks by Ade Oshineye

Other Decks in Programming

Transcript