I have been programming in C/C++/Python for some years now. Now, I am going start learning a functional programming language, but don't know which one to start with. Some comments on which is the best to start with and why, would be great.
Cheers !!
1–10 of 10 posts
I have been programming in C/C++/Python for some years now. Now, I am going start learning a functional programming language, but don't know which one to start with. Some comments on which is the best to start with and why, would be great.
Cheers !!
Haskell is a good place to start. I personally got into functional programming from forcing myself to learn what lambda x in python does, and I learned Haskell soon after. I think it's an easy-to-learn FP language
This is a question that's been on my mind lately as well. What are people's opinions of LISP, or variations thereof?
Choosing between the two could be hard, but my general advice is that if one prefers a more strict FP approach, Clojure is better, and if one prefers to have more choice over what paradigm to use when, a good multi-paradigm language like Common Lisp can make you happy. I happen to like the latter. Which reminds me, I have a lot of lisp hacking to do, enough HN for the evening.
I recommend starting with racket and the free textbook "how to design programs" especially if you are not comfortable with recursion. It is pretty introductory, so you may be able to plow through the exercises quickly.
MIT's classic SICP is another great starting point, especially if you have an adequate academic background.