Type-safe errors in TypeScript with generators
Discover why most type-safe error handling libraries in TypeScript are built using generators.
Discover why most type-safe error handling libraries in TypeScript are built using generators.
Some precautions to avoid falling into the trap of leaky abstractions and why every abstraction eventually forces you to look under the hood. A reflection on Joel Spolsky's article.