Re:From Rails to Clojure, Then to Java, Then Back to Rails
by _sdegutis on Wednesday March 21, 2018 @12:46PM
(#16639882)
I've always had better luck restricting FP to using things like map, reduce, filter, (etc) inside methods as an implementation detail, but having the structure of the app use OOP.
[ Parent
| on HN ]
Re:From Rails to Clojure, Then to Java, Then Back to Rails
by pjmlp on Wednesday March 21, 2018 @03:14PM
(#16641362)
Incidently that is how FP in done in Smalltalk as well.
All those methods, and reactive patterns (Observer and such) were already present in Smalltalk-80.