News for hackers. Stuff that matters.
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.
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.
Re:Angular 13 by Offpics on Thursday November 04, 2021 @11:01AM (#29108047)
I work with rxjs and its a breeze to work with. My data flow got only complicated after introducing redux-observable.
Re:Angular 13 by Jenk on Thursday November 04, 2021 @08:08PM (#29113986)

  document.addEventListener("something", event => { /* blah */ });
is no different.

Nor are Java streams or .NET linq.

Re:Angular 13 by vips7L on Friday November 05, 2021 @07:41AM (#29117854)
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.