DEV Community

Deconstructing Map, Filter, and Reduce

JavaScript Joel on November 27, 2018

Today we will master map, filter, and reduce by deconstructing and rebuilding them from scratch. When I was little, I received a watch as a gift...
Collapse
 
vintharas profile image
Jaime González García

Really good article. The use of ASCII in the comments is just genious.

Collapse
 
joelnet profile image
JavaScript Joel

Thanks! I was concerned it could have added more confusion than usefulness. Glad you liked the comments! I'm always looking for ways to help with readability.

Cheers!

Collapse
 
vintharas profile image
Jaime González García

It was brilliant! Comments are normally very flat and stiff, they're on top or to the right of some code. You achieved making them pop out and feel three dimensional :D Really cool!

Thread Thread
 
joelnet profile image
JavaScript Joel

Most excellent. I'll be sure to incorporate this style of comments in more of my future articles!

Cheers!

Collapse
 
joelnet profile image
JavaScript Joel

Thanks! I'd love to sketch over the code, but then the coffee would just be an image. I thought this was the best best thing. Hopefully it helped more than it distracted.

Cheers!

Collapse
 
jochemstoel profile image
Jochem Stoel

@joelnet Good post as always. I'd like to read something from you targeted at more experienced developers.

Collapse
 
joelnet profile image
JavaScript Joel

Thanks!

I have been thinking be doing something with the Either Monad.