Re:What I Wish I Knew When Learning Haskell 2.0
by GregBuchholz on Wednesday April 23, 2014 @07:52PM
(#7637692)
Maybe it is the pattern matching aspect that is throwing you for a loop? Are you familiar with Prolog, Mathematica, Erlang, or syntax-case macros from Scheme? Or is the the dollar sign ($), or something else that may be bugging you? Maybe post a simple example of one of the worst offenders.
Re:What I Wish I Knew When Learning Haskell 2.0
by im3w1l on Wednesday April 23, 2014 @09:45PM
(#7638080)
It is not one thing in particular. It is just that there are so many things.
Re:What I Wish I Knew When Learning Haskell 2.0
by platz on Wednesday April 23, 2014 @07:40PM
(#7637650)
While I havent used that library, there are plenty of ways to write obfuscated code in Haskell.
Some libraries may define their own operators (Scala suffers from this too), which can be impenetrable. Some libraries are better than others.
Although, I don't consider defining new operator names part of the syntax of the actual language itself.
I guess I'd just hope one doesnt start out jumping in to a complicated library. Its easier to start with more foundational materials.
Re:What I Wish I Knew When Learning Haskell 2.0
by platz on Wednesday April 23, 2014 @07:42PM
(#7637658)
* I can see your point about speed to attain proficiency. I wish I had a good answer for this.
Re:What I Wish I Knew When Learning Haskell 2.0
by the_af on Thursday April 24, 2014 @12:58PM
(#7641470)
Are you sure it's the syntax? Haskell can be pretty complex to understand due to the abstractions involved, especially if you are less familiar with FP, laziness, etc.
When I struggle with Haskell it's more "I don't understand the type of this" than "I don't understand the syntax". Syntax is the easy part!
I've spent more than 20 hours on Haskell syntax and feel like I am not even halfway there to "doing useful stuff".
EDIT: And I think time to be able to do something useful is a very important benchmark because after that point, further learning takes little effort or motivation.