---
title: "Discussion on \"Advent calendar #8 - Why Singletons and static methods are often the wrong thing to do\" | Hashnode"
description: "Discussion on \"Advent calendar #8 - Why Singletons and static methods are often the wrong thing to do\". This might shock you, but I bet you are using Singletons wrong. With this post I will talk about the only valid use case and the more often practiced wrong usages of the singleton pattern.\nProblem\nSingletons themselves are not bad. The problem is the..."
url: "https://hashnode.com/posts/advent-calendar-8-why-singletons-and-static-methods-are-often-the-wrong-thing-to-do/6572cbe913f5d2e0b2c0cb23"
---

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

Discussion

# [Advent calendar #8 - Why Singletons and static methods are often the wrong thing to do](https://royalzsoftware.hashnode.dev/advent-calendar-8-why-singletons-and-static-methods-are-often-the-wrong-thing-to-do?utm_source=hashnode&utm_medium=feed)

This might shock you, but I bet you are using Singletons wrong. With this post I will talk about the only valid use case and the more often practiced wrong usages of the singleton pattern. Problem Singletons themselves are not bad. The problem is the...

Dec 8, 2023 · 2 min read · royalzsoftware.hashnode.dev  
Read the article

-   [#singleton-design-pattern](https://hashnode.com/tag/singleton-design-pattern)
-   [#christmas-advent-calendar](https://hashnode.com/tag/christmas-advent-calendar)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Alexander Panov](https://hashnode.com/@IJustDev)

@IJustDev · Munich, Germany

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

Software development for SaaS businesses

Software developer and CEO at RoyalZSoftware. I build web applications for startups with Ruby on Rails, Angular and React.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
