The Singleton Pattern

Posted by Darren Young on Programmers See other posts from Programmers or by Darren Young
Published on 2011-01-16T18:21:05Z Indexed on 2011/01/16 18:58 UTC
Read the original article Hit count: 301

Filed under:

Hi,

I am a new programmer (4 months into my first job) and have recently taken an interest in design patterns. One that I have used recently is the Singleton. However, looking at some comments on this thread Overused or abused programming techniques .......it has some bad feedback. Come somebody explain why?

I have found it useful in some places, however I could probably have achieved the same without it using a static class.

Thanks.

© Programmers or respective owner

Related posts about singleton