Re:Three Months of Go, from a Haskeller’s perspective (2016)
by jaegerpicker on Monday March 20, 2017 @12:19PM
(#13915378)
I don't believe this is true for Haskell but I'm not a great Haskell dev. I do know Ocaml (mostly F# actually but it's super close) and this isn't at all true for OCaml which has a ton in common with Haskell. In OCaml I make lists of functions as pipe based expressions, where each step in the pipeline is a function. It's incredibly easy to reason about and matches the lists of functions view of development extraordinarily well. I know Elm (a simplified version of Haskell) supports pipe based programming also. Functional languages haven't taken over because OO and Java are still the primary way of teaching beginners to code. Very few beginners start with functional programming.
[ Parent
| on HN ]
Re:Three Months of Go, from a Haskeller’s perspective (2016)
by crimsonalucard on Monday March 20, 2017 @04:40PM
(#13917472)
function composition sort of emulates a list of procedures but it's not really the same thing. There's restrictions on function composition that aren't intuitive.
A typical task list has tons of side effects, which is not the case with your "pipe lines."