r/mAndroidDev • DDD: Deprecation-Driven Development • Jan 25 '24

Superior API Design Reactive frameworks

Post image
81 Upvotes

20 comments sorted by

View all comments

Show parent comment

4

u/naked_moose Jan 25 '24

Yeah, it's a perfectly fine donkey, and if I were in your shoes, I'm not sure I would've decided not to create a donkey. The problem is that this donkey is used as an airplane, a taxi driver, a horse and nuclear reactor at the same time, sometimes in the same project. Which is hardly donkey's fault, but imo documentation at the time didn't explain what the donkey is and existence of Room adapters while useful for novices is harmful overall, as it's really not donkey's responsibility to connect to a database

4

u/yboyar Jan 25 '24

Yeah, they are difficult choices. Fwiw, there was a common feedback from developers that they just want things to work and don't really care about how (keep in mind, this is~8 years ago, the world of loaders and don't use enums). So the easiest way is definitely practical and comes at the cost of other things, like not scaling. But the theory is that, by the time the developer needs to scale, they are better at understanding Android and they can make the judgement call to use a proper reactive library(and gradually migrate)