What is (functional) reactive programming?

veera - Oct 14, 2022 at 05:43 AM
 Blocked Profile - Oct 14, 2022 at 11:29 AM

I've read the Wikipedia article on Reactive Programming. I've also read the small article on functional Reactive Programming. The descriptions are quite abstract.

  1. What does functional reactive programming (FRP) mean in practice?
  2. What does reactive programming (as opposed to non-reactive programming?) consist of?

My background is in imperative/OO languages, so an explanation that relates to this paradigm would be appreciated.

1 reply

FRP is the combination of functional and reactive paradigms. In other words, it is reacting to data streams using the functional paradigm. FRP is ignoring board a utility or a library.  it changes the way you architect your applications and the way you think about your applications.