4 ms·
idk, rxjs, observables, and promises seem pretty popular. Doesn't mean it makes sense to try to write all your js code in an fp style though.
by platz 7y ago
idk, rxjs, observables, and promises seem pretty popular. Doesn't mean it makes sense to try to write all your js code in an fp style though.
- AlexCoventry 7y agoSure they're popular, but the reason they don't talk about monads, even if they are monads in an abstract sense, is that in those problem domains the abstraction doesn't bring any clarity to the design.
- platz 7y agoWhether they talk about it or not, monads did inform their design. rxjs literally has methods named `flatmap`