News for hackers. Stuff that matters.
Re:Mindset Shifts for Functional Programming by janetacarr on Wednesday April 05, 2023 @10:10AM (#35454529)
Agreed, I rarely reach for recursion myself when developing. Most of my transformations are map, filter, and reduce. Although from time to time, I will combine them with recursion when necessary. I find recurring from a reducing function to be great for traversing or searching trees or other recursive data structures. Usually these are accompanied by a ton of comments for the next developer. :)

There are no comments on this comment yet.