Jan 5 · 6 min read · Welcome Back 👋 In the last blog, we explored SOLID principles — the rules of good object-oriented design. But knowing principles alone is not enough. 👉 The real question is:How do we apply these principles while designing real systems? That’s where...
Join discussionDec 26, 2025 · 5 min read · I recently started learning about design patterns from Head First Design Patterns. The book primarily focuses on object-oriented design patterns and uses Java for most of its examples. While going through it, I thought—why not try to replicate these ...
Join discussion
Sep 25, 2025 · 8 min read · In Part 1 of this series, we built the foundation of an event-driven notification system in NestJS. Events are emitted, jobs are queued with BullMQ, and workers process them in the background. That gave us a clean and fast system, where sending a not...
Join discussion
Sep 23, 2025 · 5 min read · When building software, you want your code to be flexible and easy to extend without disrupting the existing logic. The Open-Closed Principle (OCP)—part of the SOLID principles—helps with exactly that. It says your code should be “open for extension ...
Join discussion
Sep 18, 2025 · 6 min read · Type: Behavioral Pattern Popularity: ★ ★ ★ Complexity: ★ ✰ ✰ 1. Vấn đề Hãy tưởng tượng bạn đang xây dựng một ứng dụng chỉ đường. Tính năng cốt lõi là tìm và hiển thị tuyến đường nhanh nhất từ điểm A đến điểm B. Ban đầu, ứng dụng chỉ hỗ trợ tìm đường ...
Join discussionAug 9, 2025 · 5 min read · ✨ Introduction Design patterns are reusable solutions to common software design problems. In this article, we’ll explore 5 essential patterns using the same scenario for easy comparison: a notification system (email, SMS, push). The patterns we’ll co...
Join discussion
Jun 16, 2025 · 6 min read · Hello, fellow coding enthusiasts! Today, let's dive into the whimsical world of design patterns, with a particular focus on the Strategy Design Pattern. I promise this won't be another jargon-filled tech talk. Instead, we'll use some jokes and real-w...
Join discussion
May 30, 2025 · 2 min read · Design Patterns ( Strategy Design ) Why Design PattersBecause Someone has already encountered the common problem and come up with the solution which is already proven and that can be reusable whenever that problem occurs to improve code quality and e...
Join discussionMay 15, 2025 · 4 min read · The Strategy pattern lets you define a family of algorithms, encapsulate each one, and make them interchangeable. It enables selecting an algorithm at runtime, promoting flexibility and adherence to SOLID principles. Understanding the Class Diagram ...
Join discussion