Happy Path Programming

#81 TypeScript & Effects with Michael Arnaldi

11 snips
Jun 30, 2023
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Building Effect From Real Startup Pain

  • Michael Arnaldi built an effects system in TypeScript after facing high JVM infra costs and developer scarcity.
  • He implemented ZIO-like primitives to run production workloads affordably and quickly with TypeScript developers.
INSIGHT

TypeScript Is JavaScript With Powerful Tooling

  • TypeScript is JavaScript with a compile-time type layer that disappears at runtime and improves tooling drastically.
  • Its structural typing and IDE integration make it a pragmatic target for large codebases and refactoring.
INSIGHT

Adapting ZIO Types To TypeScript

  • TypeScript's unions and intersections let you model effect environment and error channels, but structural typing forces trade-offs.
  • Effect adapted ZIO concepts using unions for errors and other language-specific compromises.
Get the Snipd Podcast app to discover more snips from this episode
Get the app