Re:Angular 13
by vips7L on Thursday November 04, 2021 @09:53AM
(#29107179)
One of my projects for work is RxJava and I’ll never touch anything Rx again. I don’t see any benefit it brings outside of making your project and control flow convoluted.
[ Parent
| on HN ]
Re:Angular 13
by halfmatthalfcat on Thursday November 04, 2021 @10:34AM
(#29107698)
That's unfortunate because reactive programming shines when you have continuous data flows and want to run pipelines against them; whether that's clicks, websocket events, queue items, etc.
I work with rxjs and its a breeze to work with. My data flow got only complicated after introducing redux-observable.
document.addEventListener("something", event => { /* blah */ });
is no different.Nor are Java streams or .NET linq.
Java 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-co...
So all you end up with is less maintainable code and more developer headache.