mayallo.hashnode.devUntangle Your Code: Chain of Responsibility Design PatternIntroduction As developers, we’ve all been there: a single function bloated with a lot of responsibilities. It starts simple, and soon, the logic becomes a tangled mess that’s hard to read, maintain, and extend. The Chain of Responsibility Design Pat...Sep 28, 2025·9 min read
mayallo.hashnode.devSQL COALESCE in Postgres: A Simple GuideIntroduction In a database, we often find empty places in our tables. These are not zeros or spaces; they are special markers called NULL. A NULL value means "no data." This can be a problem. Let's see how the SQL COALESCE function can help us solve ...Jun 9, 2025·4 min read
mayallo.hashnode.devNx Monorepo Guide: React & Node Fullstack AppWhat is a Monorepo and Why Nx? Ever find yourself checking many projects, each in its own GitHub repo, making updates feel like fixing one thing just makes another pop up? I know I used to. It's often difficult to keep track of all the different vers...Jun 5, 2025·15 min read
mayallo.hashnode.devTypeScript Type Vs Interface? The Answer Is Type!Introduction In TypeScript, you can define custom shapes using type aliases or interface. But when it comes to choosing between them, many developers ask: "TypeScript Type vs Interface?" The answer is increasingly clear: use type. While both share si...May 19, 2025·4 min read
mayallo.hashnode.devDeep Copy vs Shallow Copy in JavaScript: Complete GuideUnderstanding Object References in JavaScript Have you ever changed something you thought was a separate copy, only to find you messed up the original data too? Yeah, that happens a lot if you don't get how JavaScript handles different kinds of copyi...May 18, 2025·10 min read