2 ms·
document.addEventListener("something", event => { /* blah */ }); is no different. Nor are Java streams or .NET linq.
by Jenk 5y ago
document.addEventListener("something", event => { /* blah */ });
is no different.
Nor are Java streams or .NET linq.
- vips7L 5y agoJava streams don’t infest your project. They also don’t throw away the error system of the language. They are also leagues more maintainable than a reactive project. Ignoring the maintenance issues, reactive applications do not yield better performance on realistic I/O-bound workloads: https://julien.ponge.org/blog/publication-performance-and-costs-of-reactive-programming-libraries-in-java/ https://julien.ponge.org/blog/publication-performance-and-co... So all you end up with is less maintainable code and more developer headache.