4 ms·
> Effect systems have always felt to me like the functional programming community re-inventing dependency injection Yeah, so, in python, I've been playing arou
by 12_throw_away 2y ago
> Effect systems have always felt to me like the functional programming community re-inventing dependency injection
Yeah, so, in python, I've been playing around with "structured dependency injection", basically DI + ideas from structured concurrency (i.e., dependency injection bound to well-defined lexical scopes). And whenever I read about effects systems, it definitely feels like they're talking about, if not the same thing, at least something in the same nuclear family of things.