Spent a little bit today learning about Monostate and why some folks think the Singletons are the really bad.
Today I came across two Jeremy Miller posts (second one in list) concerning two completely different things. I think I will keep track of this dude. His comments about the Singleton constructor pattern make me chuckle. I wish I had known about it when he wrote it. At almost exactly the same time, my more aggressive peers at a former employer demanded that many particular types of services MUST be implemented as singletons and the instantiation pattern MUST follow exactly the code that Jeremy is deriding in his post. I won't go so far as to say that only a Sith speaks in absolutes, but I will say that the words MUST and ALWAYS when applied to software architecture tend to make me bristle.
Post a Comment