5 ms·
I think this is a reflection of the fact that FP is better at straight data processing than OOP (which, conversely is better for simulation). Using Java8, you
by peterashford 9y ago
I think this is a reflection of the fact that FP is better at straight data processing than OOP (which, conversely is better for simulation). Using Java8, you could likely have done something similar to the Clojure solution using Streams. Using objects to model the data is a choice, not a requirement.