Tagged Questions
6
votes
2answers
371 views
Is there a name for this design pattern?
I don't like singletons, but I have to compromise now (but only as temporary measure).
However I don't want to go completely singleton. I'd rather want to use this pattern:
interface ...
3
votes
3answers
4k views
Static class vs Singleton class in C# [duplicate]
Possible Duplicate:
What is the difference between all-static-methods and applying a singleton pattern?
I need to make a decision for a project I'm working of whether to use static or ...
1
vote
5answers
1k views
Static classes and/or singletons — How many does it take to become a code smell?
In my projects I use quite a lot of static classes. These are usually classes that naturally seem to fit into a single-instance type of thing. Many times I use static classes and recently I've started ...