2 ms·
I want to restate what you’ve said from a different perspective: If you write a lot of pure functions, in a Functional Core, Imperative Shell manner, then only
by hinkley 2y ago
I want to restate what you’ve said from a different perspective:
If you write a lot of pure functions, in a Functional Core, Imperative Shell manner, then only the imperative part has to deal with any of the async parts. Yes it’s the topmost part of the code, but there is nothing to “infect” with it which isn’t already destined to be.
It’s when you try to write imperative code like there are no consequences for doing so that the consequences show up en masse and can be confused as symptoms of entirely different problems.