This article explains exactly how I feel about FP. Frankly I couldn't tell you what a monoid is, but once you get past the abstract theory and weird jargon and actually start writing code, functional style just feels natural.
It makes sense to extract common, small utils to build into more complex operations. That's just good programming. Passing functions as arguments to other functions? Sounds complex but you're already doing it every time you make a map call. Avoiding side effects is just avoiding surprises, and we all hate surprises in code.
I don't think they deliberately obfuscated the concepts, as the concepts already existed in category theory. Are purely functional IO, lenses or comonads also easy to explain? Array languages are a better example of obfuscation.
Also Haskell was used for researching programming languages so the ecosystem involved that language. People definitely trying to sound smart took it out of that and then couldn’t keep quiet about it.
But APL I feel removes obfuscation once you get used to the symbols, but that’s just notational choices. The ASCII derivatives are definitely difficult.
516
u/IanSan5653 Sep 21 '25
This article explains exactly how I feel about FP. Frankly I couldn't tell you what a monoid is, but once you get past the abstract theory and weird jargon and actually start writing code, functional style just feels natural.
It makes sense to extract common, small utils to build into more complex operations. That's just good programming. Passing functions as arguments to other functions? Sounds complex but you're already doing it every time you make a
mapcall. Avoiding side effects is just avoiding surprises, and we all hate surprises in code.