Re: Can use of singletons denote poor project design?
- From: "Daniel Parker" <danielaparker@xxxxxxxxx>
- Date: 24 Feb 2006 13:33:01 -0800
Phlip wrote:
Daniel Parker wrote:Interesting. Do you think the designers of Java were lazy by
I don't really see how there are any special issues for writing unit
tests for singletons.
Someone on comp.lang.c++ just pointed out, very politely, "I think you just
like using global variables because you're lazy".
introducing the concept of a default DateFormat singleton object
accessible by a DateFormat.getInstance() member? Do you have a better
idea?
Regards,
Daniel Parker
http://servingxml.sourceforge.net/
.
- Follow-Ups:
- Re: Can use of singletons denote poor project design?
- From: Andrew McDonagh
- Re: Can use of singletons denote poor project design?
- From: Phlip
- Re: Can use of singletons denote poor project design?
- References:
- Re: Can use of singletons denote poor project design?
- From: Daniel Parker
- Re: Can use of singletons denote poor project design?
- From: Phlip
- Re: Can use of singletons denote poor project design?
- Prev by Date: Re: Can use of singletons denote poor project design?
- Next by Date: Re: Can use of singletons denote poor project design?
- Previous by thread: Re: Can use of singletons denote poor project design?
- Next by thread: Re: Can use of singletons denote poor project design?
- Index(es):
Relevant Pages
|