News for hackers. Stuff that matters.
Re:Letter to a Young Haskell Enthusiast by dragonwriter on Friday August 01, 2014 @03:42PM (#8122386)
> But isn't it also a mistake trying to portray Haskell as just-another-langauge? It clearly is not, it is more difficult to learn.

I don't think it is. I think (as is the case with functional languages and languages with non-Algol-inspired syntax generally, and Haskell falls in both groups) Haskell is harder to learn as an N+1 language than an imperative language with Algol-inspired syntax if you are a programmer whose existing familiar is with N languages that are all imperative languages with Algol-inspired syntax, for N > 0 (and this is increasingly true with increasing values of N.)

If you've got some background in functional languages without Algol-inspired syntax (e.g., Lisp) and some background in statically typed languages (even imperative, algol-inspired ones) it doesn't seem to be fundamentally that hard to learn, though.

I think that there is something of a deficiency in that there isn't a lot of good tutorial documentation (at least, that I've seen) for Haskell that is well designed either for new programmers or for experienced programmers without a background in things like category theory, but AFAICT that's not anything fundamental about the language, but more something about where it came from and who the early audience was. As Haskell seems to be getting broader attention, I expect that will improve.

Re:Letter to a Young Haskell Enthusiast by VMG on Saturday August 02, 2014 @03:48AM (#8124358)
The syntax is not the issue, the very sophisticated type system is.
Re:Letter to a Young Haskell Enthusiast by dragonwriter on Saturday August 02, 2014 @01:34PM (#8125368)
> The syntax is not the issue,

Syntax differences very clearly are a source of difficulty for many people learning new languages, especially when there experience is focussed on a particular syntax style.

> the very sophisticated type system is.

I don't see any evidence that Haskell's type system makes it harder to learn from an absence of programming knowledge. Like its non-Algol syntax, it probably makes it harder for experienced programmers with habits centered around patterns learned in less expressive static type systems or un-/dynamically-typed languages.

If anything, I think the consistency of the type system and the relative lack of ceremony probably makes it easier, in some ways, than C/C++/Java family languages, where there is lots more type ceremony to learn.