News for hackers. Stuff that matters.
Re:Escape from Callback Hell: Callbacks are the modern goto by wwweston on Friday November 02, 2012 @03:19PM (#4734281)
> Callback means some or all of: "I don't know when or where I am being called from, or what the state is of the rest of the program at this time."

This sounds a lot like what function means.

Re:Escape from Callback Hell: Callbacks are the modern goto by jblow on Friday November 02, 2012 @05:54PM (#4734950)
Nope, because you can do static analysis (a.k.a search through your program text) to find out who calls a function and when. The whole point of a callback is that this doesn't work.
Re:Escape from Callback Hell: Callbacks are the modern goto by Evbn on Saturday November 03, 2012 @02:30PM (#4737453)
How does that help with program state, which changes based on user input?