Re:Ask HN: When was the last really transformational idea in...
by nostrademons on Saturday February 07, 2009 @06:31PM
(#471580)
It's really amusing (in an oh-my-God-I'm-fucked way) to try and debug type errors in Happy-generated parsers. There have been times when the type of the function (not even the whole error message) has been a page long.
C++ STL code can be similarly (un)fun.
Re:Ask HN: When was the last really transformational idea in...
by wheels on Saturday February 07, 2009 @07:17PM
(#471620)
Intel's C++ compiler produces much more readable error message, I find. Though, almost perversely, I've gotten used enough to GCC's cryptic template error output that I'm more comfortable with it.
I was hacking together an Arc interpreter in Haskell the other day, and after refactoring some of the hairier monadic code, I was horrified to see that the type signature for a particular function was twice as long as the function body. And that's with the compiler figuring it out for me... I don't know what I'd have done if it was C++ instead.