Understanding Map / Reduce functions


I’ve been reading about how to code more efficiently some programs, and some of them have throw a concept know called “map/reduce”. It’s based on functional programming, so it’s not like the newest thing on Earth. However, it’s important to understand it in order to take advantage of it.

During my readings in order to understand it, I found the following code which explains in a very clear and verbose:



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s