Hello Tony,
I'm not sure if i follow you correctly.
I agree that Singleton has its pitfalls, and therefore certain danger of being misused. Easily forgotten
thread safety, to name the biggest issue.
But I do not agree with the consideration that Singleton is an anti-pattern. As a matter of fact and from my knowledge, a Singleton is the by far most elegant ways to handle certain situations like for example resource management and connection pools. Oh, and logging usually relies on Singletons, too.
Can you please bring up a few facts? What exactly is a correct implemented Singleton violating?
many greetings,
Jan