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 —...
39 articles found
Design patterns get a bad rap, but a handful of them genuinely earn their keep in JavaScript. This opinionated walkthrough covers seven patterns —...
I bombed a whiteboard interview because I couldn't explain __proto__ vs .prototype. Went home and actually figured it out. Here's the prototype chain...
I spent way too long going back and forth on enums versus union types. Here's where I landed after trying both in real projects, covering numeric enums...
When our team decided to migrate to TypeScript, I thought it'd take a week. It took three months. Here's the full story -- what went smoothly, what broke...
TypeScript's built-in utility types didn't click for me right away. Then I started building real APIs and they became part of my daily toolkit. Here's a...
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...