r/functionalprogramming • u/chandaliergalaxy • Apr 03 '25
OO and FP OOP vs. Functional is Dead
https://medium.com/@alexander.paul.gilbert/oop-vs-functional-is-dead-ff51a70c83ce
18
Upvotes
r/functionalprogramming • u/chandaliergalaxy • Apr 03 '25
View all comments
Show parent comment
2
u/crdrost Apr 04 '25
But it's also that there are multiple FP communities.
Haskell had to emphasize purity because of laziness—“when does this I/O happen” because “when does anything happen.” But Lisp is also inspired by λ-calculus, but maybe the most important part for that community is not purity but syntactic uniformity so that macros are possible. You have erlang inspired by logic programming which can be viewed as a subset of functional, but let's take these little lambdas self-looping a la Y combinators, and give them a message bus to talk to each other and the larger system. But then you have ML, Haskell, and dependent types and proof assistants getting back into syntax uniformity because it gives you a place to hang your types uniformly, and the type language itself is another λ-calculus once polymorphism is in play don'cha know, etc.