---
title: "Nikhil Chandrakar (@nikhilchandrakar) | Hashnode"
description: "A genius is someone who knows when to stop. Read the latest articles by Nikhil Chandrakar on Hashnode."
url: "https://hashnode.com/@nikhilchandrakar"
---

@nikhilchandrakar

# Nikhil Chandrakar

@nikhilchandrakar · Bangalore , India · Joined January 2023

A genius is someone who knows when to stop.

### [Decorator design pattern](https://nikhilchandrakar.hashnode.dev/decorator-design-pattern?utm_source=hashnode&utm_medium=feed)

Definition : Decorator design pattern attaches additional responsibilities to an object dynamically. Decorator provides a flexible alternative to subclassing for extending functionality. Lets understand this with help of an example : Suppose you hav...

2 min read · [nikhilchandrakar.hashnode.dev](https://nikhilchandrakar.hashnode.dev/decorator-design-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 9, 2025](https://hashnode.com/posts/decorator-design-pattern/68bfad42ad0c1d735c875376)

### [Strategy Design Pattern](https://nikhilchandrakar.hashnode.dev/strategy-design-pattern?utm_source=hashnode&utm_medium=feed)

Definition : Formally, strategy design pattern can be defined as a design pattern that defines a family of algorithms and put them into separate classes so that they can be changed at run-time. Lets understand strategy design pattern with help of an ...

4 min read · [nikhilchandrakar.hashnode.dev](https://nikhilchandrakar.hashnode.dev/strategy-design-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 8, 2025](https://hashnode.com/posts/strategy-design-pattern/68beb4f85bfd95d491ab5b23)

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

Singleton design pattern is one of the most commonly used design patterns. We use singleton design pattern when we need only one instance of a class. For example : Logger : Suppose you are implementing a logging service in your application. All the ...

3 min read · [nikhilchandrakar.hashnode.dev](https://nikhilchandrakar.hashnode.dev/singleton-design-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 8, 2025](https://hashnode.com/posts/singleton-design-pattern/68be52224b48c2e3130dfeae)

### [Do you know how JavaScript engine runs your code ?](https://nikhilchandrakar.hashnode.dev/do-you-know-how-javascript-engine-runs-your-code?utm_source=hashnode&utm_medium=feed)

You might be aware of the fact that JavaScript is an interpreted language (i.e it converts your code to binary line by line) and that’s why a JavaScript code can run partially if error comes later. But is this always true ? console.log("Hello world")...

2 min read · [nikhilchandrakar.hashnode.dev](https://nikhilchandrakar.hashnode.dev/do-you-know-how-javascript-engine-runs-your-code?utm_source=hashnode&utm_medium=feed)

[Jun 4, 2025](https://hashnode.com/posts/do-you-know-how-javascript-engine-runs-your-code/683fc23e31772581abf0627d)

### [Debouncing : What You Need to Know](https://nikhilchandrakar.hashnode.dev/debouncing-what-you-need-to-know?utm_source=hashnode&utm_medium=feed)

What is debouncing ? Why do we need debouncing ?

2 min read · [nikhilchandrakar.hashnode.dev](https://nikhilchandrakar.hashnode.dev/debouncing-what-you-need-to-know?utm_source=hashnode&utm_medium=feed)

[Dec 5, 2024](https://hashnode.com/posts/debouncing-what-you-need-to-know/6751d546cf60767350c0c18b)
