Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • The key aspect of a singleton in the traditional sense, is that it is static and it is not passed in to another object. It is specifically these characteristics that people criticize. So if you take those out of your definition, I don't think you're talking about the thing most people do. I suspect people do not have a problem with a DatabaseConnection for which only one instance exist. The problem is if that instance is static and also referred to directly by others. Or did I misunderstand you? Commented Oct 17, 2022 at 9:08