Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

isn't your event-driven loop an example of a callback function? i'm no expert on continuations, but i thought they involved somehow packaging up the 'rest of the computation' in some structure and then running it. your example seems to be an ordinary callback.


He did say there were only two categories. They're just numbered 1 through 3 for some reason ;-)


A continuation is really just a type of callback -- "go to point X in the code, with state Y".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: