Re:Functional Programming Is Not Popular Because It Is Weird
by rntz on Saturday February 27, 2016 @05:38PM
(#11188826)
Anecdatally, I'm a very top-down programmer, and also a discrete math & logic nerd, and I tend to prefer FP. I'm not sure why you think "math types" tend to work bottom up. Perhaps we mean different things by top-down/bottom-up? Can you give an example of what you think of as "top down" design versus "bottom up" design, and why it seems "top down" is easier in an imperative language and "bottom up" easier in a functional one?
[ Parent
| on HN ]
Re:Functional Programming Is Not Popular Because It Is Weird
by pklausler on Saturday February 27, 2016 @08:52PM
(#11189387)
Bottom-up design is the creation of little stand-alone components that can be understood in isolation and, when written abstractly, perhaps useful in multiple contexts. I find that pure FP languages ease bottom-up design because of the lack of shared mutable state and their strong support for composition.