Re:Java’s Cultural Problem
by kaba0 on Monday September 19, 2022 @11:27AM
(#32899663)
What about the Lispian way of FP, e.g. Clojure? It is noting like the Haskellian one, yet they are also on the same spectrum.
[ Parent
| on HN ]
Re:Java’s Cultural Problem
by grumpyprole on Monday September 19, 2022 @01:42PM
(#32901477)
Clojure encourages pure functions and immutable data, so definitely a "functional first" language. But it's not a "purely functional" language.
I don’t think there is a boolean pureness flag, rather a spectrum.
Haskell can also introduce arbitrary side effects in any code with some unsafe escape hatches, but sure, the common case doesn’t employ that, so it is a bit more pure than Clojure.