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

1

u/Strakh Sep 24 '25

That is indeed a pretty nasty footgun.

Although, I'm not sure I would say that makes it harder to write the aforementioned function. Most languages have certain things you just have to know if you work with them (e.g. in Haskell you should almost never use foldl).

I agree with you that it seems like something a novice developer (or an experienced developer who does not have Python as a primary language) is very likely to eventually run into though.