| Article: |
Top 12 Reasons to Write Unit Tests | |
| Subject: | Singletons are dubious? | |
| Date: | 2003-04-04 17:09:09 | |
| From: | anonymous2 | |
| To the author: Can you please clarify your assertion that Singletons represent a "dubious pattern"? | ||
Showing messages 1 through 1 of 1.
-
Singletons are dubious?
2003-04-05 07:04:29 Eric M. Burke [Reply | View]





http://groups.yahoo.com/group/xpstl/
The project I'm working on now uses a lot of singletons, and I can speak from experience in saying that they are hard to test, hard to refactor, and make things too tightly coupled to "global variables" disguised as singletons.
I think the discussion on the Yahoo group mentioned above says it all.