Thoughts & Writings
Sharing what I learn about web development, software engineering, and building products.
Tree Shaking in React.js: Keep Your Bundles Light and Fast
What is Tree Shaking? Think of your favorite streaming service. It has thousands of movies and TV shows, but when you download content for offline viewing, you only download the specific episodes you want to watch. You don't download the entire Netfl...
Read article
MCP Servers Explained: A Guide for Developers
The Integration Problem You've built an AI-powered application, but now it needs to access databases, files, GitHub, and APIs. Each connection requires custom code, different authentication, and unique error handling. You're spending more time buildi...
Read article
Promise.all In JavaScript Explained
What arePromisesinJavascript? According to MDN The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. Promise.All Introduction to Promises in JavaScript When I first came across the ne...
Read article
Understanding Complexities Of Pop() and Shift() Methods.
Every Developer's out there must have used these methods at least once. Have you ever thought about the complexities between these two, If you haven't Let us take a look. Brief explanation of what pop() and shift() methods in terms of arrays. The pop...
Read article
The Gauss Sum: Introduction to sum of n arithmetic numbers using algorithm.
So, let's say you have to add an array of numbers from 1 to n. What I usually did before I started learning the algorithm and data structures was to loop over every element of the array and add it to the sum. But after learning about the Gauss Sum, I...
Read article
What Is Git (in Simple Terms)
Git is a version control system that helps developers manage and track changes to their code. It allows multiple developers to work on a project simultaneously, making it easy to collaborate and share code. One of the key features of Git is the abili...
Read article