Functional Reactive Programming
Angular is using rxJs which is a reactive programming framework, but I think it was an error to do so.<p>The angular project I am working on is now 5 years old and the parts of the application that are the least understood are the ones with more rxJs in it. We even have custom rxJs operators that nobody understand anymore...<p>The way we do things now is to transform everything we can into promises because it&#x27;s more easy to work with.<p>With promises you have a few functions with which you can do everything. With rxJs you have dozens of function with specific use cases and most of them looks alike. It&#x27;s too easy to not take the right one and new peoples in the project needs to learn a lot of things to understand the codebase.<p>I was interviewing some angular devs aand asked the question: what is the difference between a promise and an observable and 80% of the time the answer was &quot;for observable you need to sunscribe to get the result&quot;). That shows a clear lack of understand of rxJs.<p>Anybody had a better experience with angular and rxJs?