Doesn’t this imply that Factories are considered harmful? Given Factories are usually implemented as a Singleton. Is this article really just saying that “Shared mutable global state” is harmful?
Immutable Singletons (e.g configuration) seem to be rather handy… not at all harmful.
Doesn’t this imply that Factories are considered harmful? Given Factories are usually implemented as a Singleton. Is this article really just saying that “Shared mutable global state” is harmful?
Immutable Singletons (e.g configuration) seem to be rather handy… not at all harmful.