---
title: "Chirag Bhugra (@Chiragbhugra) | Hashnode"
description: "Chirag Bhugra (@Chiragbhugra) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Chiragbhugra"
---

@Chiragbhugra

# Chirag Bhugra

@Chiragbhugra · Joined June 2023

### [5 Clean Code Habits for Writing Better Functions](https://jacked.dev/5-clean-code-habits-for-writing-better-functions?utm_source=hashnode&utm_medium=feed)

In this blog post I'll go through five functional patterns help you write code that doesn't make your coworkers want to pull their hair out. 1. Verbs over Nouns Have you ever opened a file and seen a

3 min read · [jacked.dev](https://jacked.dev/5-clean-code-habits-for-writing-better-functions?utm_source=hashnode&utm_medium=feed)

[Feb 27](https://hashnode.com/posts/5-clean-code-habits-for-writing-better-functions/69a1eab5d4053a09f33ffe77)

### [Understanding Objects in JavaScript](https://jacked.dev/understanding-objects-in-javascript?utm_source=hashnode&utm_medium=feed)

I’ve been diving deep into JavaScript lately, and the best way to make sure I actually understand something is to write it down and explain it. What Exactly is an Object? The easiest way to think abou

2 min read · [jacked.dev](https://jacked.dev/understanding-objects-in-javascript?utm_source=hashnode&utm_medium=feed)

[Feb 26](https://hashnode.com/posts/understanding-objects-in-javascript/69a094ed0a5a8a543026428a)

### [Control Flow in JavaScript: If, Else, and Switch](https://jacked.dev/control-flow-in-javascript-if-else-and-switch?utm_source=hashnode&utm_medium=feed)

1\. The if Statement The if statement is the simplest way to make a decision in code. It basically says, "Check if this condition is true. If it is, run the code inside the block." let age = 20; if (a

3 min read · [jacked.dev](https://jacked.dev/control-flow-in-javascript-if-else-and-switch?utm_source=hashnode&utm_medium=feed)

[Feb 25](https://hashnode.com/posts/control-flow-in-javascript-if-else-and-switch/699f433bc9015c37f6b01781)

### [Production-Grade Logging in Node.js with Winston](https://jacked.dev/production-grade-logging-in-node-js-with-winston?utm_source=hashnode&utm_medium=feed)

When you're building a side project, console.log is perfectly fine. But the moment you deploy a distributed system, where you have multiple instances of an app running behind a load balancer console.l

3 min read · [jacked.dev](https://jacked.dev/production-grade-logging-in-node-js-with-winston?utm_source=hashnode&utm_medium=feed)

[Feb 24](https://hashnode.com/posts/production-grade-logging-in-node-js-with-winston/699dfd020daf99859e56a834)

### [Building a Validation Layer with Zod](https://jacked.dev/building-a-validation-layer-with-zod?utm_source=hashnode&utm_medium=feed)

While building any backend API, you can never fully trust the data coming in from a client, a third-party webhook, or even a frontend application you wrote yourself. Every robust API needs a strict va

2 min read · [jacked.dev](https://jacked.dev/building-a-validation-layer-with-zod?utm_source=hashnode&utm_medium=feed)

[Feb 23](https://hashnode.com/posts/building-a-validation-layer-with-zod/699cac5bcf5def0f6abea4bd)
