4 ms·
> I don't think the comparison between callbacks and goto is valid. What is the largest code base you have worked on that used events + callbacks extensively?
by vijucat 13y ago
> I don't think the comparison between callbacks and goto is valid.
What is the largest code base you have worked on that used events + callbacks extensively? I worked on a 250,000 lines-of-code Java trading system, and understanding the way the code flow worked from the central event dispatch loop to handler functions, and back to the event dispatch loop took me MONTHS and seriously spoiled the quality of my life (considering how much many hours we spend at work).
Have you used alternative paradigms like Functional Reactive Programming, Promises, etc;? Maybe you don't realize how awesome the alternative is?