i hope 11 years later we have a different attitude
i hope 11 years later we have a different attitude
The idea of keeping functions pure, when you can without making a mess of things, has pretty wide agreement.
The use of Option types instead of Null is getting to the point of being widespread (C# 9 sorta does it, Zig kinda does it, people love it in Rust and F#)
But other things like, passing partially applied functions to other functions, that to me is still really hard to reason about, especially with type inference on those function signatures. Immutable data structures, while nice to reason about sometimes have huge performance downsides. And computers aren't really getting faster in ways that help that much anymore.
It's a self-inflicted criticism. It's non-fpers saying that fp is too hard, not fpers.
Programmers in 2020: "Yeah some of the people on the team know how to use flatMap."