Mastering TypeScript at Scale — Part 4: Monorepo Type Safety & Module Boundaries
Enforcing strict module contracts in a monorepo: path aliases, project references, barrel files, and why you should treat your shared packages as published APIs.
Thoughtfully researched, carefully written. Long-form pieces, deep dives, and expert perspectives — for curious minds who want more than headlines.
Enforcing strict module contracts in a monorepo: path aliases, project references, barrel files, and why you should treat your shared packages as published APIs.
Compile-time safety stops at the API boundary. This part covers building end-to-end type safety from HTTP request to database response using Zod schemas.
Constraint propagation, infer keyword, template literal types, and how to write utility types that the compiler can fully verify — no any escapes.
A deep dive into TypeScript's structural type system, variance, conditional types, and mapped types — understanding the engine before tuning it.
A thorough examination of how large language models are changing software development — from copilots to autonomous agents and beyond.
Research-backed strategies for achieving the kind of concentrated focus that produces breakthrough results — and why most productivity advice fails.
A candid look at what actually happened when we split our monolith — the wins, the unexpected failures, and whether it was worth it.
Cognitive science meets interface design — understanding Gestalt principles, mental models, and decision fatigue to build products users love.
First-hand experiences and hard lessons from scaling a platform from zero to millions of users — what the textbooks don't tell you.