4 ms·
> can a mainstream language adopt the algebraic effects (handlers?) without creating deep confusion or a new language should be built from the ground up buildin
by ww520 1y ago
> can a mainstream language adopt the algebraic effects (handlers?) without creating deep confusion or a new language should be built from the ground up building on top of these abstractions in some form.
Algebraic Effect is a variant/enhancement of dependency injection formalized into a language. Dependency injection has massive usage in the wild for a long time with just library implementation.
- threeseed 1y ago> Algebraic Effect is a variant/enhancement of dependency injection Every library so far that has implemented effects e.g. Cats, ZIO, Effects has done so to make concurrency easier and safer. Not for dependency injection.