News for hackers. Stuff that matters.
Re:Ask HN: Is Haskell Worth Learning? by yesenadam on Sunday June 21, 2020 @05:30AM (#23590938)
I'd say it depends on which languages you already know/have been exposed to.

After downloading some software written in Haskell this week, I installed GHC and got some books on Haskell. Got sick of constantly hearing about how cool it is! After reading a few dozen pages, I thought it looked a lot like (Standard) ML, which I got into a couple of years ago. So I googled differences between Haskell and ML, and they indeed sound not-so-very-different. So I gave up on that idea for now. I was after a language very different from any I knew before. Maybe next year. (In recent years have gotten into Lisp, Prolog, Forth, ML, Tcl etc - each totally different from each other and from languages I knew before.)

A language that doesn't affect the way you think about programming is not worth knowing. - Alan Perliss

Re:Ask HN: Is Haskell Worth Learning? by dllthomas on Sunday June 21, 2020 @01:18PM (#23593449)
I initially picked up Haskell because I hadn't done anything that was lazy by default, which - when you focus on pulling at that thread - can be a pretty big difference from any of the ones you've mentioned.

The syntax is pretty close to ML, for sure.

Ultimately, it's the type system and the pervasive immutability that I miss most when I'm working in other languages. The ML type system is related, but the differences (in both directions!) are interesting.

Re:Ask HN: Is Haskell Worth Learning? by nnoitra on Saturday June 20, 2020 @07:32PM (#23588351)
Absolutely yes, if you have only been working with langs such as C, Java, Javascript etc. Basically it will fundamentally shift your thinking.

Honestly though, I prefer ocaml much more than haskell because it has a cleaner syntax.

Re:Ask HN: Is Haskell Worth Learning? by tome on Sunday June 21, 2020 @03:34AM (#23590491)
> I prefer ocaml much more than haskell because it has a cleaner syntax.

That's interesting. One typically hears the other way round. Could you give some examples?

Re:Ask HN: Is Haskell Worth Learning? by TXV on Sunday June 21, 2020 @10:45AM (#23592280)
If you were never exposed to functional programming before, learning Haskell will give you a whole new perspective on how you write code, and I bet it will make you a better programmer just because of that.

With that said, in Europe I ever came across exactly zero job ads that require Haskell, and exactly one in Singapore. In North America / Bay Area it might be more common though.

Re:Ask HN: Is Haskell Worth Learning? by PaulHoule on Saturday June 20, 2020 @03:37PM (#23586471)
Depends on your goals. Really I think Prolog, Constraint Handling Rules and similar systems are more interesting.
Re:Ask HN: Is Haskell Worth Learning? by diehunde on Saturday June 20, 2020 @07:57PM (#23588485)
If it's only for fun sure. Otherwise no.
Re:Ask HN: Is Haskell Worth Learning? by quda on Saturday June 20, 2020 @04:17PM (#23586896)
No. Try Elixir. Much more useful in the real world.
Re:Ask HN: Is Haskell Worth Learning? by splintercell on Saturday June 20, 2020 @11:26PM (#23589507)
He said worth learning, not worth using, and Haskell is absolutely worth learning.
Re:Ask HN: Is Haskell Worth Learning? by bjourne on Saturday June 20, 2020 @03:42PM (#23586534)
It depends.
Re:Ask HN: Is Haskell Worth Learning? by karmakaze on Saturday June 20, 2020 @06:27PM (#23587939)
F#
Re:Ask HN: Is Haskell Worth Learning? by MarsTeam on Saturday June 20, 2020 @04:44PM (#23587133)
Yes
Re:Ask HN: Is Haskell Worth Learning? by jonas21 on Saturday June 20, 2020 @03:27PM (#23586355)
No