---
title: "Discussion on \"Singleton Pattern\" | Hashnode"
description: "Discussion on \"Singleton Pattern\". Why Singleton Pattern\n\nSingleton pattern also gives us a global point of access, just like global variables, but without initializing the object beforehand, a global variable gets created when your application starts which is a downside.\n\nHow to rest..."
url: "https://hashnode.com/posts/singleton-pattern/64f578d714149ef8d19a47a7"
---

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

Discussion

# [Singleton Pattern](https://struglingblogs.hashnode.dev/singleton-pattern?utm_source=hashnode&utm_medium=feed)

Why Singleton Pattern Singleton pattern also gives us a global point of access, just like global variables, but without initializing the object beforehand, a global variable gets created when your application starts which is a downside. How to rest...

Sep 4, 2023 · 2 min read · struglingblogs.hashnode.dev  
Read the article

-   [#notes](https://hashnode.com/tag/notes)

## Written by

[Shreyash Chavhan](https://hashnode.com/@Shreyash1999)

@Shreyash1999

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

Tech Software Engineer at UBS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
