News for hackers. Stuff that matters.
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.
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.

Re:From Rails to Clojure, Then to Java, Then Back to Rails by mercer on Thursday March 22, 2018 @05:07AM (#16646996)
Elixir, I suppose, would be a 'modern' example too.
Re:From Rails to Clojure, Then to Java, Then Back to Rails by scruple on Wednesday March 21, 2018 @02:19PM (#16640927)
This is where I've landed when writing Ruby code, as well, and it's served me really well.