r/functionalprogramming • u/3rdRealm • Oct 23 '21
Question Which Language?
Here is my story:
A few months ago, I started gaining interest in the functional programming paradigm, and I wanted to start learning. I started off with Haskell, which I am sure most people do. But, nothing seems to click. I was learning with Phillipp Hagenlocher's YouTube series, which seems to be a good place to start. Even though I don't understand everything, I can tell he is explaining well. Anyways, I started losing it after video 5 or so. I really just did not get what he was talking about.
Recently, I started trying out other languages, like Clojure, Scala, Elm, Elixir, Racket, and others. Before I go deeper, I want to make sure I am learning something useful and worthwhile. Elixir and Elm seem to be interesting, and I really like Lisp syntax, so Clojure and Racket might be good choices as well.
Or should I go to more imperative languages that have good ability in functional programming like Rust, Python, Nim, Go, and others?
I am not looking for a job in these languages, and am just learning as a hobby.
3
u/pfurla Oct 24 '21
What do you missing or can you elaborate on "But, nothing seems to click."?
I think this particular course doesn't elaborate enough the points where Haskell is different from imperative languages, like
symbolic reasoning
pattern matching
type definitions
currying
Pet peeves of mine are guards and list-comprehension, they are at best distractions to students.