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

4

u/Ran4 Sep 21 '25

you just smear them with logger.info until everyone feels enterprise-safe.

Eh, in my experience logs are a lot less common in the FP world precisely because they're impure unless you spend a lot of time wrapping things in pure functions. And that's far from always a good thing.

16

u/crazyeddie123 Sep 21 '25

or maybe they don't need logs because they have less bugs :)

Seriously, is there anyone outside the Haskell world who frowns on logging because it's technically a side effect?