SRP and the Hero's Journey: Writing Code Like a Jedi Master
The Quest Begins (The "Why") I still remember the first time I opened a legacy codebase and felt like I’d walked into the Death Star’s trash compactor…
Tech news from the best sources
The Quest Begins (The "Why") I still remember the first time I opened a legacy codebase and felt like I’d walked into the Death Star’s trash compactor…
SINGLE RESPONSIBILITY PRINCIPLE (SRP) A class should have one, and exclusively one , reason to change. In other words, we shouldn't have a single clas…
The Quest Begins (The "Why") I still remember the first time I tried to track down a bug that only showed up after midnight. I opened my terminal, typ…
I once knew a guy who derived great pride from writing clever code... All variable names were reduced to single characters because "long variable name…
The Quest Begins (The “Why”) I still remember the first time I opened a legacy payment module and saw a monster‑sized if/else chain stretching over a …
It's okay if you don't know everything. It's okay if your code isn't perfect. It's okay if your first few internship applications get rejected. Every …
Unused JavaScript is like cancer — it kills slowly. It accumulates quietly over the course of years, release by release, and by the time anyone notice…
Keeping documentation updated is difficult, especially when projects continue to grow. To make this easier, I've been building jsdoc-scribe, an open-s…
We've all been here. A new form shows up, you install React Hook Form, add Zod or Yup, and in ten minutes you have something that "works." The problem…
Circular dependencies are one of those bugs that feel harmless right up until they aren't. No build error. No runtime exception on import. Just a subt…
The review process did everything right. Someone opened the pull request. Someone else read through it carefully. The logic was sound. The tests passe…
Building scalable software applications demands writing clean code that’s so simple that any dev can understand it. In this article, I’ll explain and …
The Quest Begins (The “Why”) Picture this: I’m deep in a codebase that looks like the junkyard planet from Star Wars —tangled wires, rusted droids, an…
The Quest Begins (The “Why”) Picture this: I’m knee‑deep in a legacy codebase that feels like the Death Star’s trash compactor—every time I try to add…
By Sergio Colque Ponce — Software Engineering, Universidad Privada de Tacna. Full source code: github.com/srg-cp/design-principles-go When people say …
A little ironic that the header image was generated using AI, but oh well... Before, when I create a game, I would go to countless YouTube tutorials. …
Flutter Clean Architecture is the industry standard for building scalable, testable, and maintainable mobile apps. This guide walks you through a prod…
Introduction Spring Boot is an incredible framework. It gives developers immense freedom to build and scale applications quickly. However, in large te…
The One TDD Habit That Saved My Sanity (and My Codebase) Quick context (why you're writing this) Here's the thing: I used to think I was doing TDD rig…
Guard Clauses: The Tiny Habit That Saved My Sanity Quick context (why you're writing this) Here's the thing: I was once handed a legacy payment‑proces…
I was one commit away from a bug that would never have thrown an error. My system keeps every closed vocabulary in a single file — one source of truth…
At the bottom of every long-lived codebase is a function nobody has called in three years. Above it is a commented-out block from a refactor that was …
На каждом ревью найдётся кто‑то, кто спросит: «Зачем четыре файла, если это один пайплайн?» А затем, давайте объясню! Читать далее
An architectural doctrine for NestJS projects: a breakdown of typical codebase degradation scenarios and the structural constraints that keep them fro…
An architectural doctrine for NestJS projects: a breakdown of typical codebase degradation scenarios and the structural constraints that keep them fro…
An architectural doctrine for NestJS projects: a breakdown of typical codebase degradation scenarios and the structural constraints that keep them fro…
An architectural doctrine for NestJS projects: a breakdown of typical codebase degradation scenarios and the structural constraints that keep them fro…