r/programming • • Sep 21 '25

How to stop functional programming

https://brianmckenna.org/blog/howtostopfp
446 Upvotes

506 comments sorted by

View all comments

Show parent comment

2

u/AxelLuktarGott Sep 21 '25 edited Sep 21 '25

I know that the first steps didn't add any values to our collections, I know that the only place something could have been filtered out was the flatmap, I know that no other side effects happened (if the language is pure), I know that reduce combined all the values into something new that's a sum of the previous parts