Javascript Reduce

1 · Martin Capodici · Feb. 16, 2019, midnight
I have been programming for many years in industry, and I find it quite rare that I need to use a reduce function in my code, whether that be in JavaScript or other languages with an equivalent function. Why is that? Well… let’s learn more about reduce and then we can talk about why it is not often needed, and when it is the perfect choice to solve a problem....