in reply to Re: single instance shared with module
in thread single instance shared with module
Be careful when using singletons. They are often a sign that you need to rethink a design. Then can encourage close-coupling of objects and become global variables by another name.
There is a nice developerworks article on the subject. Even if you can't read Java it's worth a once over.
That said - logging objects is one of the places that it's probably justified.... so I guess I'll just shutup and go away ;-)
|
|---|