[cap-talk] Singletons Considered Harmful
raould at gmail.com
Tue Mar 30 14:47:08 PDT 2010
On Tue, Mar 30, 2010 at 2:31 PM, Kenton Varda <kenton at google.com> wrote:
> I'm confused. Are you saying that singletons and globals aren't necessarily
> equivalent, or are you saying that singletons are not contrary to OO design
if anything, what i had in mind was a variant on the latter.
i can buy that singletons are bad, but then the follow-up is that
member data that is global to methods sucks in very similar ways, and
yet i don't see any "let's argue" discussion about that. so it seems
like the physician is not following their own advice far enough.
More information about the cap-talk