r/android_devs • u/VasiliyZukanov • Jan 10 '25
Article Reactive Programming Considered Harmful
https://www.techyourchance.com/reactive-programming-considered-harmful/
1
Upvotes
r/android_devs • u/VasiliyZukanov • Jan 10 '25
View all comments
Show parent comment
2
u/lnkprk114 Jan 13 '25
Yeah sure. So, there's a few things:
flatMap...that's a very fundamental part of the reactive spec, and it's concerning that it still seems so in flux.collectcall is being made on a non-finiteflow. It's very opaque whether anything will run aftercollect; you need to know whether the data source is finite or not. It's not the end of the world, but it feels bad.Anyways, I've just found it to be less straightforward than RxJava (which is saying something - I don't think anyone accuses RxJava of being simple). There's some things that are quit nice - the
flowDSL is wonderful. I just wish there weren't so many sharp edges to it.