Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Compiler errors for functional languages are worse than their object-oriented and procedual counterparts in general.
That mostly comes from the difficulty of generating meaningful traces for anonymous functions, tail recursion, lazy evaluation, deeper call stacks in general - and of course all that syntactic sugar that is just a bunch of nested functions at runtime.
It is possible to generate meaningful messages and traces. But it definitely isn't easy. -
The compile messages are awful, but after a while you kind of just get used to where you've gone wrong. Nicer compiler messages would be useful, but it's not as much of a big deal as it first seems.
The real win is that you can do so much more in the way of compile time checking though. -
The errors can be pretty cryptic but they can help when it points to. A specific part of a line. Type holes are really nice too. It's an error, but tells you the type of what's expected to be there and gives you suggestions of what can be used based on what's in scope. That can come in very handy sometimes.
-
Learning Haskell is fun the way it fucks with your mind sideways. So enjoyable. Tho I have to agree about the compiler errors - that they’re not really that bad either.
Related Rants
-
dibbler6722Not a specifically dev related story, but absolutely rant worthy. Today I was working from home, and my wife ...
-
whatevel12So, today I was at my college library, working on an Haskell project that I have for my Functional Programming...
-
nzeetee7Well fuck me. Just went to my first meetUp with a group of Haskell programmers. I think they broke Enigma in ...
Learning Haskell is pain
Haskell fucks with your mind and enjoys doing it
Every Haskell list comprehension is the most convoluted piece of shit I've ever seen, until I see the next list comprehension
The Haskell compiler errors are the worst I've ever seen, and I've worked with fucking c++
AND NOTHING MAKES SENSE! I FUCKING HATE HASKELL
rant
haskell