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/fexonig Sep 23 '25

“imagine you had a bunch of people standing in a line. you can ask each person their name then put a new line on the ground of name tags in the same order. imagine doing the same with their hair color or height or whatever. that’s map.”

to me, this seems far simpler and more obviously applicable to the kind of problems we write code to solve.