Is singleton a design pattern or a design antipattern?
From here http://neugierig.org/software/chromium/notes/, it said 'Globals and singletons are already well-known as a design antipattern, but they have an interesting additional cost.'
But the GoF book said singleton a design pattern.
So can you please tell me when does using singleton is NOT okay?
Thank you.