News for hackers. Stuff that matters.
Re:Learn You a Haskell for Great Good by s_dev on Tuesday August 21, 2018 @04:06PM (#17813241)
Still recall the advice form a classmate asking if I should learn Haskell -- he said "Just learn it because it'll change how you think about programming".

I think people should learn it for this exact reason -- it really does change how you program as well as thinking about programming even if on a daily basis you're not writing pure Haskell or Clean or Scheme or whatnot.

Common programming concepts like "iteration", "state", "formal methods", "parrallellism" are concepts that functional programming makes you reconsider from a new perspective.

Re:Learn You a Haskell for Great Good by Barrin92 on Tuesday August 21, 2018 @04:15PM (#17813349)
I always think that this attitude is a little bit off. Obviously learning a new paradigm or a new language is great and expanding your horizon is very rarely bad, but I feel a little bit sad about shoehorning Haskell, or functional languages in general, still into this education category.

Haskell is a very solid production language and you can put industrial grade software in Haskell out there, and it is in fact used by a fairly serious amount of companies at this point.

Instead of just taking Haskell features and porting them into already adopted languages, I'd really like to see more companies just go directly with Haskell, or Clojure, or Ocaml and F#. It does work.

Re:Learn You a Haskell for Great Good by jmaa on Tuesday August 21, 2018 @04:29PM (#17813464)
I'm with you on Functional Languages being solid and useful, I've done quite a lot of work in Standard ML, but the parent's point wasn't only do it for the education, it was at least do it for the education.
Re:Learn You a Haskell for Great Good by kthielen on Tuesday August 21, 2018 @05:04PM (#17813802)
> Instead of just taking Haskell features and porting them > into already adopted languages, I'd really like to see > more companies just go directly with Haskell, [...]

Unfortunately there are some places where aspects of the standard infrastructure around Haskell block production application.

In particular, we have applications with very hard latency requirements and also with complex type/binding requirements (where a direct structural type system is needed):

https://github.com/Morgan-Stanley/hobbes

Re:Learn You a Haskell for Great Good by dvlsg on Tuesday August 21, 2018 @04:13PM (#17813315)
I think one of the most important things I learned from functional programming was how to consider and handle purity and side effects.

Not necessarily by wrapping everything in IO monads in my non-functional code or anything like that. But trying to keep bits of business logic in pure functions (where possible, of course) sure makes my job easier.

Re:Learn You a Haskell for Great Good by archarios on Tuesday August 21, 2018 @04:48PM (#17813660)
Yeah but you don't have to learn Haskell to understand that
Re:Learn You a Haskell for Great Good by lmm on Tuesday August 21, 2018 @05:13PM (#17813897)
It's very easy to give up in other languages. Haskell forces you to find a pure way by giving you no other alternative - and most of the time, a pure way is actually easy once you try.