8 ms·
> decided to write Java like it’s Haskell. I have no love for Haskell or functional programming, but the problem here isn't FP per se, it's that they tried to
by solraph 3y ago
> decided to write Java like it’s Haskell.
I have no love for Haskell or functional programming, but the problem here isn't FP per se, it's that they tried to jam it into Java.
Don't fight the language or framework. If you are using Java, write idiomatic OOP code. If you want to write FP on the JVM, then start writing Clojure or Scala. If the business won't let you write Clojure or Scala, then do it on your own time and/or change jobs.