Tag: effect
All the articles with the tag "effect".
Promises Were a Breakthrough: JavaScript Needs Better Concurrency Primitives
Published: at 09:30 AMPromises were the right answer in 2015. Retry, cancellation, structured concurrency, and resource safety have outgrown them. Here's the model that fills the gap.
Exceptions Are Broken: Errors as Contracts, Not Crashes
Published: at 12:00 AMWe treat errors as crash events for the runtime when we should treat them as contracts for the caller, with stable tags, typed payloads, and messages demoted to logs.