2 ms·
This is a pretty great article but I don't get the hate for futures not executing immediately and requiring an .await. It's great to have pure futures-returnin
by jokethrowaway 5y ago
This is a pretty great article but I don't get the hate for futures not executing immediately and requiring an .await.
It's great to have pure futures-returning functions and being able to isolate side effects easily.
I find it much easier to reason with (coming from mainly JS, where everything is executed as soon as a promise is created).