The best way to understand continuations

I was reading up about Procs due to an interesting error in some code:
warning: tried to create Proc object without a block

So I picked up my copy (and got a nice little workout in the process) of The Ruby Way, 2nd edition by Hal Fulton. It’s a good book for all Rubists and Railers. It had this nice little gem right before the section on Procs:

The best way to understand continuations is to watch the movie Run, Lola, Run (or the original German Version, Lola Rennt.)

Hal also compares it to a “save game” feature. Probably easier to understand among the video-game-playing-and-computer-programming crowd. Nevertheless, I think its probably still worth it to go watch Run Lola Run to improve your understanding of continuations.

April 3, 2007. Rails, Ruby. No Comments.

WordPress database error: [Table './wordpress/wp_comments' is marked as crashed and should be repaired]
SELECT * FROM wp_comments WHERE comment_post_ID = '219' AND comment_approved = '1' ORDER BY comment_date

No Comments

Be the first to comment!

Leave a Reply

Trackback URI