M. David Green uses filtering to limit a data set & chaining to combine the results with map/reduce. The result—clean code that performs complex operations.
Tag: for loops
M. David Green demonstrates how using the functional programming techniques of mapping & reducing can lead to cleaner code which is easy to read & maintain.
Getting Started with Underscore.js
Martín Martínez introduces you to Underscore.js and details how you can use it to write cleaner code which is both easier to read and easier to maintain.
Quick Tip: Stop Writing Loops and Start Thinking with Maps
A quick tip from Jezen Thomas on how you can stop writing for loops and start using map — a technique that makes for cleaner, more readable code.
M. David Green demonstrates the powerful, but dizzying concept of recursion by refactoring normal for and while loops to use functions that call themselves.