Thursday, October 22, 2015

Introduction to reactive extensions

I've been keen to find out what the story is with Reactive Extensions for a long time.  I came across this excellent article called The introduction to Reactive Programming you've been missing.

It starts out easy enough.  Everything is modeled as a stream.  In the example this includes data from an AJAX request and button click events.  The streams can then be transformed into other streams, filtered, merged with other streams and so on.

Towards the end of the article my brain started getting into a knot a little bit.  It is clear to me that when used correctly this can create amazing, concise code that does a lot with only a small amount of code.  In the wrong hands it can lead to an impossible to understand, tangled mess.

Definitely worth checking out.  Now to find a place to use it...

No comments:

Post a Comment