Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
inaba46255y@Orek idk the more I've been using it the more it just seems like it creates messy code compared to using async and await
-
dnsProbe4315yError handling in sequential http calls and to track which call failed and execute Fail code block so bloody painful
-
Crost41085yThe observer pattern is about decoupling. Rxjs is just the observer pattern on steroids and it is very powerful for making a big app with lots of events, or for just decoupling code to ensure different responsibilities run in different functions without having to have those functions know about each other. Meaning you can extend without modification.
-
inaba46255y@craig939393 Would be nice to have something concrete instead of a sale pitch, ya know. Like you know, examples and shit.
-
dnsProbe4315y@inaba even if you find some examples they are so vague that they hardly address the real use cases. And when you fit some higher order observable together, the chain becomes so messy that at one point you feel, why the fuck don't I just use $.ajax and be done with this pile of garbage.
-
Crost41085y@inaba sorry I forgot I exist to please you. Giving the intent of a pattern is not a sales pitch, perhaps you should read a book
-
inaba46255y@jskid This is one of those things that really shouldn't be a thing but unfortunately is in the world of programming. There are wayy too many resources that tells you what something is and then when it's time to explain how to use it, they just repeat what it is
@craig939393 I did read a book but unfortunately "Diogenes of Sinope - Life and Legend" doesn't cover rxjs. Next time you give your pitch you could include whichever books that shows how good rxjs is instead of acting like a child lmao
RxJS is so ducking weird. Its ducking my brains out 😒😒
random