Re:Singleton Pattern in Go
by hyperpape on Monday July 13, 2015 @09:03AM
(#9877817)
I wasn't actually talking about singletons, just the doublechecked locking pattern. It's also necessary for laziness on objects that are referenced by multiple threads.
I tend to think Singletons are a dubious design pattern, like a lot of other people.
I tend to think Singletons are a dubious design pattern, like a lot of other people.