Y
Hacker News
new
|
ask
|
show
|
jobs
by
PezzaDev
2705 days ago
After seeing callbacks cause a lot of "hard to debug" scenarios for me and for others, I'm starting to believe they are gotos in disguise.
2 comments
pjc50
2705 days ago
Even worse: it's a "come from", a statement normally only seen in INTERCAL.
link
rbanffy
2705 days ago
At least "come from" states clearly where the code is coming from.
Now... When your callbacks are names and not inline you can't really make that assumption.
link
danabramov
2705 days ago
They are.
link