4

RxJS is so ducking weird. Its ducking my brains out 😒😒

Comments
  • 3
    Actually at some point you will start liking it but yeah its strange at first
  • 1
    @Orek I hope it's worth the pain and frustration.
  • 1
    @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
  • 1
    Error handling in sequential http calls and to track which call failed and execute Fail code block so bloody painful
  • 0
    The 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.
  • 1
    @craig939393 Would be nice to have something concrete instead of a sale pitch, ya know. Like you know, examples and shit.
  • 1
    @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.
  • 0
    @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
  • 1
    @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
Add Comment