4 ms·
FP is fun, but there aren't many good languages for it. Haskell is too academic, Clojure is fun but hasn't taken off, Scala is too complicated (Java with FP sho
by patientplatypus 7y ago
FP is fun, but there aren't many good languages for it. Haskell is too academic, Clojure is fun but hasn't taken off, Scala is too complicated (Java with FP shoehorned in, who thought this was a good idea?).
I like FP but 90% of the time you'd be better off with just Python because other developers will be able to work with it and there are libraries. Or Golang or Node or whatever.
Frustrating, but it is what it is.
- hszeeks 7y agoI find the characterisation of Scala very inaccurate. It is nothing like Java at all. A Scala code would look so different compared to a Java code. For an example, in Java you would create a class with static variable as a Singleton object. In Scala, you just create an Object. Type inference, Option type, pattern matching, it is nothing like Java with FP shoehorned in.
- cpursley 7y agoHave you tried Elixir?
- patientplatypus 7y agoOk fair. Elixir is nothing short of amazing.
- johnisgood 7y agoHow about OCaml? https://www.cs.cornell.edu/courses/cs3110/2019sp/textbook/ https://www.cs.cornell.edu/courses/cs3110/2019sp/textbook/ https://ocaml.org/learn/tutorials/functional_programming.html https://ocaml.org/learn/tutorials/functional_programming.htm...
- johnisgood 7y agoThis is a newer one, with advanced topics and probably other changes: https://www.cs.cornell.edu/courses/cs3110/2019fa/textbook/ https://www.cs.cornell.edu/courses/cs3110/2019fa/textbook/
- nikonyrh 7y agoIn my bubble Clojure has taken off quite nicely, many companies are solving hard problems with it and you get to enjoy all the libraries of the Java eco-system :) But it is indeed a very different approach to programming than let's say Python or Node.
- codygman 7y ago> Haskell is too academic How so? You know there has been a growing number of professional Haskell developers for the past 5-7 years right?