News for hackers. Stuff that matters.
Re:Singleton Is a Bad Idea by david2ndaccount on Sunday April 10, 2022 @02:39PM (#30980253)
Since this post seems to actually be about python, the actual way to implement a singleton is to just use a module. Modules are naturally singletons in python and are objects like everything else.

There are no comments on this comment yet.