JavaScript Design Patterns for Clean Code
JavaScript

JavaScript Design Patterns for Clean Code

Design patterns get a bad rap, but a handful of them genuinely earn their keep in JavaScript. This opinionated walkthrough covers seven patterns — module, observer, singleton, factory, strategy, decorator, and facade — with honest takes on which ones I actually reach for in real code and which ones mostly live in textbooks.

12 min read 3,284 views
#javascript #design-patterns #clean-code #software-architecture
Continue Reading →
TypeScript Decorators: A Practical Guide
TypeScript

TypeScript Decorators: A Practical Guide

I put off learning TypeScript decorators for a long time. They looked like unnecessary magic. Then I actually used them on a real project -- and changed my mind. This guide walks through every type of decorator with real-world examples, from Express route handlers to validation patterns.

11 min read 2,914 views
#typescript #decorators #design-patterns #nestjs
Continue Reading →