---
title: "Discussion on \"What Is a Singleton? The Design Pattern Everyone Argues About\" | Hashnode"
description: "Discussion on \"What Is a Singleton? The Design Pattern Everyone Argues About\". To put it simply, a singleton makes sure a class has exactly one instance in the whole program, and gives everyone the same shared way to reach it.\nOne shared instance sounds tidy. One database connec"
url: "https://hashnode.com/posts/what-is-a-singleton-the-design-pattern-everyone-argues-about/6b0e23377f99555104d756eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What Is a Singleton? The Design Pattern Everyone Argues About](https://itsmeminsithu.hashnode.dev/what-is-a-singleton-the-design-pattern-everyone-argues-about?utm_source=hashnode&utm_medium=feed)

To put it simply, a singleton makes sure a class has exactly one instance in the whole program, and gives everyone the same shared way to reach it. One shared instance sounds tidy. One database connec

2h ago · 7 min read · itsmeminsithu.hashnode.dev  
Read the article

-   [#singleton](https://hashnode.com/tag/singleton)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#python](https://hashnode.com/tag/python)
-   [#software-design](https://hashnode.com/tag/software-design)
-   [#code-review](https://hashnode.com/tag/code-review)

## Written by

[Min SiThu](https://hashnode.com/@itsmeminsithu)

@itsmeminsithu · Singapore

  
[View profile](https://hashnode.com/@itsmeminsithu)

Software Engineer

Nubbad Developer. | Now I accidentally create problems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
