Re: Can use of singletons denote poor project design?



In article <FzLLf.1426$IQ2.183@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
Phlip <phlip2005@xxxxxxxxx> wrote:

No globals exist besides my few singletons :)

To achieve the moral high-ground here, you might admit that most modules do
not write on your Singletons (do not set their Set() methods). Global
constants are harmless, therefor global defacto-constants inside Singletons
are mostly harmless.

In C++, cout is a global and I write to it all the time. Unless you are
saying that cout is "bad design" I can't agree with your assessment
above. ;-)



--
Magic depends on tradition and belief. It does not welcome observation,
nor does it profit by experiment. On the other hand, science is based
on experience; it is open to correction by observation and experiment.
.