3 ms·
See also this reply: The Function Colour Myth (https://lukasa.co.uk/2016/07/The_Function_Colour_Myth/ https://lukasa.co.uk/2016/07/The_Function_Colour_Myth/).
by miracle2k 9y ago
See also this reply: The Function Colour Myth (https://lukasa.co.uk/2016/07/The_Function_Colour_Myth/ https://lukasa.co.uk/2016/07/The_Function_Colour_Myth/).
- Shoothe 9y agoI don't see how this reply addresses the core point, it just argues that async await is useful (that's fine but not novel by itself). It is possible to work around the "color" by using generators [0], that way one algorithm can be used in synchronous and asynchronous way. Async await tightly bind to underlying Promises. [0]: https://curiosity-driven.org/promises-and-generators#decoupling https://curiosity-driven.org/promises-and-generators#decoupl...