3 ms·
What Does Actual Functional Programming Look Like?
- ggm 1y agoWithout over accusatory tones.. isn't that just a giant straw man? It's a good read, and I think gets to important qualities, I use map in python but never (ok hardly ever) construct function chains, and I'm constantly reminded how imperative my code can be, and also that you can do a lot of imperative coding in Haskell. Recursion is great when it works. I think it's true that theorising about your atoms, axioms and behaviours and coding from them is a good goal but I do tend to think it's the rewrite we do after exploring the space a lot more linearly, subjectively.
- jerf 1y agoIt is not a straw man, because I have encountered this attitude repeatedly. But I do believe it is a loud, but small, minority. It is certainly not something that all FP advocates believe. I consider myself an FP advocate in the end, after all. They're just also a really annoying loud small minority, made all the more annoying by the fact they're fundamentally wrong about what functional programming is about.