News for hackers. Stuff that matters.
Re:If monads are the solution, what is the problem? by svachalek on Monday July 30, 2018 @03:30PM (#17647259)
Everyone thinks their own code is readable. It's when you jump into a project with code written by 10 other people that you get an idea for a language's innate readability. In my experience I tend to agree that Haskell does not score high on this dimension, its syntax is too terse and too flexible and there are few conventions about how to organize large codebases.
Re:If monads are the solution, what is the problem? by squiggleblaz on Tuesday July 31, 2018 @03:02AM (#17651109)
I actually disagree. I write very little Haskell but I do read it from time to time, simply because compared to any other language it's simply so readable it's almost fun.

In no other language have I ever got distracted from my main goal by just reading the source code of the libraries I'm using.

Re:If monads are the solution, what is the problem? by jaggederest on Monday July 30, 2018 @05:41PM (#17648328)
Well, to clarify, I found the code in the libraries etc very readable, obviously I can read my own code :)
Re:If monads are the solution, what is the problem? by fooker on Tuesday July 31, 2018 @02:36PM (#17655787)
A significant number of interesting Haskell libraries I found are thin abstractions over some C api. It makes sense that these would be readable. Is there something for Haskell which serve a similar role as boost to C++? If that is readable, I will be convinced.