Tom Ritchford
Apr 19, 2023

--

No, reduce is not recursion, it is iterative.

Also Python has had recursion since it was invented in 1991, four years before Javascript, but we've had recursion in programming languages since the 1950s.

Javascript is a perfectly good language, but I struggle to think of one idea that it introduced that didn't exist for decades before.

--

--

No responses yet