I read up through the part about a Singleton still being a Singleton if you use all static methods, which in a sense is true - its 6 of one, 1/2 dozen of another.
Technically, though, I believe this "all static methods" approach is called Monostate, at least that's what I learned when I learned the Singleton pattern.
1 Comments:
I read up through the part about a Singleton still being a Singleton if you use all static methods, which in a sense is true - its 6 of one, 1/2 dozen of another.
Technically, though, I believe this "all static methods" approach is called Monostate, at least that's what I learned when I learned the Singleton pattern.
Cheers,
Brice Ruth
Post a Comment
<< Home