3 ms·
> I have never seen anyone programming in CPS. Perhaps you've heard of "Javascript callback hell", or maybe even witnessed it first-eye? That's essentially CPS
by Joker_vD 6y ago
> I have never seen anyone programming in CPS.
Perhaps you've heard of "Javascript callback hell", or maybe even witnessed it first-eye? That's essentially CPS, written manually--one of the driving forces for inventing async/await was to return back to writing the programs in direct style and letting the compiler do the CPS transformation at specified points.