|
|
|
|
|
by jules
5770 days ago
|
|
This, in my opinion, is one of the greatest strengths that OOP has over FP: data.map(...).reduce(...). It doesn't really have anything to do with OOP, you could just as well have such a syntax for calling functions. In F# you do have the |> operator that does something like this. This may seem superficial, but it helps readability a lot. The human mind (or mine at least) is just not well suited to unraveling nested structures. |
|
http://clojure.github.com/clojure/clojure.core-api.html#cloj...;
So you can take
and make it