2 ms·
All your criticisms can apply to events as well, except for the "model" comment. On the model comment, modularity definitely makes writing code easier, but it
by rtpg 14y ago
All your criticisms can apply to events as well, except for the "model" comment.
On the model comment, modularity definitely makes writing code easier, but it reduces locality of code. It makes control flow harder to understand (and thus code harder to read). Promises 'solve' that by being explicit about the callflow schematic.