Skip to main content
8 events
when toggle format what by license comment
Apr 28, 2016 at 1:17 comment added m0meni How would you implement RP in a OO environment? You mention "Mapping, folding, reducing, flatMapping, filtering, transforming, partitioning, merging, splitting, … Streams is exactly the same as mapping, folding, reducing, flatMapping, filtering, transforming, partitioning, merging, splitting, … collections." That sounds a lot like functional programming.
Apr 28, 2016 at 1:14 comment added Jörg W Mittag … OO, this was also called RP, because it is kind-of like FRP, but not in a functional setting. FRP - F == RP. So, we now have two different interpretations of the term RP: FRP is a kind of RP (in the broad sense), as well as RP (in the narrow sense) is a kind of RP (in the broad sense). Both FRP and RP (in the narrow sense) are "cousins".
Apr 28, 2016 at 1:12 comment added Jörg W Mittag There are two different definitions of "Reactive Programming". One is simply the opposite (or rather dual) of Interactive Programming: programming where you react to the environment instead of you interacting with the environment. Think about this like the term "Iteration". Functional Reactive Programming, Events, Observers, etc. are just different ways of Reactive Programming, just like for loops, while loops, iterators etc. are different ways of iterating. So, FRP is a specific technique for doing RP. When people like Erik Meijer took ideas from FRP and re-interpreted them in the context of
Apr 28, 2016 at 1:07 comment added m0meni Thanks for all the detail! One more thing. How do you differentiate reactive programming and functional reactive programming? I see people use them almost interchangeably.
Apr 28, 2016 at 1:06 vote accept m0meni
Apr 28, 2016 at 1:05 history edited Jörg W Mittag CC BY-SA 3.0
added 2941 characters in body
Apr 28, 2016 at 0:35 comment added m0meni So event listening is separate from reactive programming, and reactive programming is explicitly about streams? Also why is a user action considered async?
Apr 28, 2016 at 0:34 history answered Jörg W Mittag CC BY-SA 3.0