by Waterluvian · 3y ago · 0 comments
Functional programming is fundamentally at odds with imperative constructs. It's not that people hate them, it's that they generally just don't fit the paradigm of "build a pipeline of steps (functions) and feed data into it" as well. Most of my software is functional, but you will find the occasional C-style loop, especially if the map/filter/reduce alternative is ridiculously complicated to read.
Arrows in Haskell are actually pretty good at building functional left to right data processing pipelines.
---
[1] https://en.wikibooks.org/wiki/Haskell/Understanding_arrows