News for hackers. Stuff that matters.
Re:Singleton Is a Bad Idea by 32gbsd on Sunday April 10, 2022 @10:31PM (#30983927)
And a singleton is not an instance? Its all the same thing; 1 file, 1 instance. A file has properties, size, data memory, you can copy, paste it, delete it. A file has a type though generic.
Re:Singleton Is a Bad Idea by yokaze on Monday April 11, 2022 @03:56PM (#30993962)
> And a singleton is not an instance?

No, a singleton is a pattern that ensures that there is at most a single instance of a class.