3 ms·
> Callbacks are different than gotos in that they are aren't even remotely close to gotos. Well, continuations are the functional equivalent of GOTOs, and call
by chimeracoder 14y ago
> Callbacks are different than gotos in that they are aren't even remotely close to gotos.
Well, continuations are the functional equivalent of GOTOs, and callbacks and continuations are closely related, so I don't know how you can make that statement.
Even if you want to argue that they avoid some of the pitfalls of GOTOs (which I'd still contest), you still can't say that they're "not even remotely close to gotos".