4 ms·
Interesting. Why function calls over events? And is it always applicable?
by Ygg2 5y ago
Interesting. Why function calls over events? And is it always applicable?
- adwn 5y agoI suspect because it makes both data and control flow more explicit and traceable. > And is it always applicable? No heuristic is always applicable.
- naavis 5y ago> No heuristic is always applicable. Exactly. That's why it is called a heuristic and not a rule. :)
- IshKebab 5y agoNot always applicable but it makes debugging far easier, reduces the chance of events being lost and makes it easier and safer to understand and modify code.