3 ms·
> blocking code is objectively easier to reason about than “jumping around” code. This is precisely why await was introduced in the first place. Promise and ca
by vips7L 3y ago
> blocking code is objectively easier to reason about than “jumping around” code.
This is precisely why await was introduced in the first place. Promise and callback code was impossible to reason about.
- kaba0 3y agoA Promise is not ordinary blocking code. String res = someRestCall(); is.