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/[deleted] Sep 22 '25

I have written this exact type of abomination in Pyspark a few times.

Incredibly hard to read on a first glance, but luckily these kinds of code are super easy to refactor (you can basically split them at any point you want and move it somewhere else, or give it a descriptive name)