Yes! Really understanding map, filter and reduce really helped as I would read other people's code, and also really helped clean up my own code (especially when writing React and Redux).
Another note about .reduce: you can also reduce into an object or array as well - so look into that if you want to transform one object/collection into another one.
It's so cool, I use it in my day to day and shorten my functions so much just by introducing these nice high order functions.
Reduce is so powerful! You can compose functions like crazy and just make beautiful poetry with your code. I didn't include it here because it's more of an intro post but would be great to make a more advanced reduce article
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes! Really understanding map, filter and reduce really helped as I would read other people's code, and also really helped clean up my own code (especially when writing React and Redux).
Another note about .reduce: you can also reduce into an object or array as well - so look into that if you want to transform one object/collection into another one.
It's so cool, I use it in my day to day and shorten my functions so much just by introducing these nice high order functions.
Reduce is so powerful! You can compose functions like crazy and just make beautiful poetry with your code. I didn't include it here because it's more of an intro post but would be great to make a more advanced reduce article