No anti-pattern argument, just critique of implementation

I just want to point out that this video does not making an argument against using singletons. It is only critiquing certain popular implementations of it. You can define a singleton object as an instance property of a class if you wanted. You can restrict the availability of this object. And you can dedicate a class to taking care of creating it.

Privacy & Terms