News for hackers. Stuff that matters.
Re:Don't return null; use a tail call by batterseapower on Tuesday January 10, 2012 @07:17AM (#3446655)
AKA double-barrelled continuation passing style
Re:Don't return null; use a tail call by wickedchicken on Tuesday January 10, 2012 @08:22AM (#3446847)
Which is annoying as all hell to write directly. I know it's a cliche to bitch about how 'ugh, language X doesn't have feature Y' but many callback-spaghettisms of Node would go away with call/cc.
Re:Don't return null; use a tail call by dustingetz on Tuesday January 10, 2012 @02:29PM (#3448558)
if anyone's curious, i wrote a presentation about how call/cc can fix callback-hell per parent.

slides: lets make a blocking API not block. wait, what? (a practical introduction to continuations) [https://docs.google.com/present/view?id=dv9r8sv_82cn7dngcq]