2 ms·
For one, you’re dealing with less state. That’s worth a lot already. More interestingly, programming in a functional style encapsulates a lot of complexity in
by gherkinnn 5y ago
For one, you’re dealing with less state. That’s worth a lot already.
More interestingly, programming in a functional style encapsulates a lot of complexity in concepts. Once you grasp a concept, it all falls in to place. But getting there is hard.
Java-style OOP gives you a loose bag of conceptually simple pieces, but that quickly devolves in to a horde of rabid infants with jetpacks. Then you need to memorise several dozen patterns to contain the chaos.
Intrinsic vs extrinsic complexity.
- bluefirebrand 5y agoWhat you're describing about Java style OOP has made that stuff absolutely impenetrable to me. I have no patience for studying those patterns, and even less for writing all of the boilerplate code to implement them. I've been loving all of the push towards more functional style programming lately. It makes code so much more intuitive for me.