Events vs Function Calls
The cluster centers on debates about event-based programming versus alternatives like direct function calls or channels, particularly in frontend development, web components, and UI handling, with discussions on benefits, drawbacks, and applicability.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Interesting. Why function calls over events? And is it always applicable?
I want it and I want it now. Screw your event based system
It would actually be a good fit for event handlers...
Can someone explain the benefits of channels vs event handlers for frontend development in a non-abstract way like I'm five?
You think being event based is holding back a web component library? When the DOM is event based now?
Sounds like they haven't figured out event driven architecture yet ^.^
When is it ever necessary to change event handlers?
This sounds like an interesting approach, though I'm not really fan of events (it's easy to see when they fire, but less easy to make sure anything is listening).
This is probably a little bit late for this release, but have you ever considered allowing arrays or strings with spaces on the value side of the events hash? This would allow you to define different functions to call in order when an event is fired, instead of just a single function that has to call them itself. I've run into a few situations where this would be useful, and seems like a very small change. Should I send a pull request?
I guess you weren't dependent on Synthetic events then.