DEV Community

Discussion on: Explain Reactive Programming Like I'm Five

Collapse
 
jonasws profile image
Jonas Strømsodd

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!.

Collapse
 
elnawe profile image
Nahuel Jesús Sacchetti

Nailed it!

Collapse
 
johnpaulada profile image
John Paul Ada

Awesome! Thanks!