News for hackers. Stuff that matters.
Re:Singleton Is a Bad Idea by ardit33 on Sunday April 10, 2022 @02:43PM (#30980300)
If two process are modifying the same file.... that file is a 'single object'. So, the Parent's point stays. A process can create its own copy, and do things with it, but eventually it has to load and save it at one single place.
Re:Singleton Is a Bad Idea by gpderetta on Sunday April 10, 2022 @03:00PM (#30980494)
That's exactly the same as a specific non-singleton object instance. Processes have handles that represent open files.

The filesystem tree on an unix OS is a better example but that was also been identified as a mistake and there have been attempts to rectify it (namespaces)