Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> a three lines program generates 95 lines of error messages; let's throw a template into it, so that it goes up to 112 lines, but look: at the beginning you'll see the error we added!

95 lines of error messages sounds terrible, no doubt. But which language is better in the real world? I am currently consuming a JSON web service written in Java, and I get no less than 30kb of stack trace back when something blows up. Rails' stack traces are filtered by default, but sometimes you still have to jump in there.

And C++ has the advantage that much of this can happen at compile-time.

I agree that almost everything about C++ is broken, but the verbosity of error messages is the smallest of it IMHO.



I'm thinking most of the "C++ school" is affected by excesses, still, Java and C# are slightly better

" but the verbosity of error messages is the smallest of it IMHO"

It's merely a consequence of the verbosity/complexity of the language itself




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: