Learn the most powerful functional tool

Reduce is the most powerful functional tool available. Whenever I write a recursive function, I ask myself whether it couldn't be better using reduce instead.

It lets you build general-purpose recursive solutions without doing the recursion explicitly yourself. In this course, we implement reduce and other functions like map and filter using it. This course also goes over some practical things you can do with reduce.