Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Both seem to focus on expressing relationships between objects and having compiler/runtime infer the computation, instead of explicitly specifying the computation.

That's true of every declarative approach. Functional, reactive, relational, regex etc. are all to some degree declarative.

To answer your question: Functional programming is really more about avoiding mutation at the language surface, while reactive programming is about how mutation propagates through code, so it's an abstraction over specific mutation. This is why they pair nicely together.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: