---
title: "Discussion on \"Singleton Pattern\" | Hashnode"
description: "Discussion on \"Singleton Pattern\". I was asked about a singleton in an interview and well, I didn't have an answer then. I call for a rematch now! Anyway, in this article I explain what is a singleton through a problem. A singleton is basically a design pattern.\nWhat even is a design ..."
url: "https://hashnode.com/posts/singleton-pattern/65a54880a8fecd41feced353"
---

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

Discussion

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

I was asked about a singleton in an interview and well, I didn't have an answer then. I call for a rematch now! Anyway, in this article I explain what is a singleton through a problem. A singleton is basically a design pattern. What even is a design ...

Jan 15, 2024 · 3 min read · karani.hashnode.dev  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)

## Written by

[Karani John](https://hashnode.com/@Karani)

@Karani · Nairobi,Kenya

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

hm

I just revolve with the earth!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
