TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What functional programming language should I start with?

14 pointsby subnetvjover 13 years ago
Hi All,<p>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.<p>Cheers !!

7 comments

chewxyover 13 years ago
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
评论 #3317052 未加载
rohit89over 13 years ago
I started with Haskell because it forces you to write programs in a functional way. If you're interested, Learn You a Haskell for Great Good (<a href="http://learnyouahaskell.com/" rel="nofollow">http://learnyouahaskell.com/</a>) is an excellent introduction.
Xurinosover 13 years ago
Erlang. It is a reasonable stepping stone towards Haskell and will introduce you to some new concepts and syntax. It is also a simple language. Then tackle Haskell, which will build upon what you learned in Erlang.
axkover 13 years ago
Haskell if you are an artist. OCaml (without the OOP stuff, no one uses it any way) if you are a plumber.
mcpherrinmover 13 years ago
A Lisp dialect is surely the right choice if you are new to functional programming. The language itself is very simple, so it won't get in your way as much as some alternatives.<p>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.<p>MIT's classic SICP is another great starting point, especially if you have an adequate academic background.
nicklovescodeover 13 years ago
My suggestion is to bite the bullet and learn Haskell
robdoherty2over 13 years ago
This is a question that's been on my mind lately as well. What are people's opinions of LISP, or variations thereof?
评论 #3319578 未加载