←back to thread

Learn OCaml

(ocaml-sf.org)
203 points smartmic | 3 comments | | HN request time: 0.215s | source
Show context
another_twist ◴[] No.44402433[source]
Is OCaml still worth learning these days ? Feels like plenty of languages are evolving quite well and most things can be done in imperative langs like Go/Java with pretty concise code and certainly better perf.
replies(6): >>44402448 #>>44402524 #>>44402790 #>>44404250 #>>44405117 #>>44408867 #
zulban ◴[] No.44402790[source]
No. Not even a little.

Look at the latest stack overflow developer surveys. It will tell you how much the international community chooses to use (or not) ocaml. To your question, that's people deciding whether it's worth learning.

replies(1): >>44402932 #
1. another_twist ◴[] No.44402932[source]
Yeah but most of the time you learn a language because it changes your way of thinking. I want to pick OCaml for my next project, almost did. But decided against since Java had an ecosystem, tooling and really good performance.
replies(2): >>44403177 #>>44433283 #
2. kzrdude ◴[] No.44403177[source]
Yes for your general education I think you should learn a functional language. This is how I think about it, at least.
3. zulban ◴[] No.44433283[source]
"Yeah but most of the time you learn a language because it changes your way of thinking."

For you and I maybe, but no. This is the HN bubble speaking. Most people learn a programming language to get a job or to do something they want to do.

I learn CS for fun too but I hold no illusions about the rest of the world.

"But decided against since Java had an ecosystem, tooling and really good performance."

Correct. Ocaml is not practical for projects or businesses. That's why you didn't pick it.