Would you rather use a Singleton or dispatch another class' event through a Chain of Responsibility?
Posted
by Pup
on Stack Overflow
See other posts from Stack Overflow
or by Pup
Published on 2010-06-02T14:31:43Z
Indexed on
2010/06/02
14:43 UTC
Read the original article
Hit count: 284
design-patterns
|oop
In general, what would make your program more maintainable?
I know a lot of folks that make heavy use of Singletons, but that seems like a cop-out, which creates a kind of global junk drawer organization.
© Stack Overflow or respective owner