News for hackers. Stuff that matters.
Re:How to slice your code into continuations by tombert on Monday May 06, 2019 @03:50PM (#19843077)
> The original four-line snippet is pretty darn clear in terms of intent, run-time cost, and potential errors or side effects.

I think this is sort of an inherent problem of simple examples. CPS is pretty awesome, but it's not really worth it until you get into "Cheney on the MTA" problems with recursion and/or parallelism, but to show that in a simple tutorial would probably confuse a lot of people.

There are no comments on this comment yet.