News for hackers. Stuff that matters.
Re:Callbacks as our Generation's Goto Statement by jfarmer on Thursday August 15, 2013 @07:13PM (#6221192)
Callback-oriented code is different. With by-the-book OOP code you're still executing one line at a time. You might be teleporting in space, which has its own problems, but your code still reflects the order of execution.

With callback-oriented code you're teleporting in space and time.

They can both make it hard to trace the path of execution. At least with OOP code you have a sensible stack trace, though. ;)

Re:Callbacks as our Generation's Goto Statement by stcredzero on Friday August 16, 2013 @01:51PM (#6225594)
True about the stack trace, but teleporting around in space is still the same kind of difficulty. You're taking a whole and scattering it around.