Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"12-21-12 - Coroutines From Lambdas"

3 Comments -

1 – 3 of 3
Blogger johnb said...

See also: Continuation-passing-style, and all async functions in node.js.

December 21, 2012 at 4:59 PM

Blogger cbloom said...

Yup. My only point here really is that they are mostly equivalent.

Holy cow though I find CPS code to be impossible to read and impossible to debug.

We're getting more and more of it in the world and good god is it ugly.

Callbacks are a nasty nasty way to write code.

December 21, 2012 at 5:06 PM

Blogger George McBay said...

Writing code in Go is the most fun I've had programming in years, mostly because of the way it handles these concurrency issues without dropping into callback hell.

December 24, 2012 at 11:04 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.