Explain Reactive Programming Like I'm Five

johnpaulada profile image John Paul Ada Aug 13, 2017

I'm still having problems comprehending Reactive Programming. Thanks in advance for the help. :)

markdown cheatsheet

Reactive programming is like the infamous "marble course" we all loved to play with as kids:

marble course

Instead of dictating what your code should do RIGHT NOW (procedural programming), you define what may happen in response to a certain set of events, like where you may have several "entry pipes" in your marble course!.