Except it's not hidden when you (or the library) make a mistake: you can then wind up with pages of text per type, with many different types listed as the compiler throws out the 5 or 6 things it tried to do before it gave up, any one of which could contain the actual error, which could be a typo, or a missing const, or some other strange type resolution issue. Compilers have made a lot of headway in improving the situation but it still sucks.
Verbose error messages from the compiler don't make the feature of a language nontrivial.
I've run across plenty of simple processes in "enterprise code" that present information relevant or otherwise in a worse than the error format than GCC templates.
View all comments
Show parent comment
1
u/rcxdude May 01 '14
Except it's not hidden when you (or the library) make a mistake: you can then wind up with pages of text per type, with many different types listed as the compiler throws out the 5 or 6 things it tried to do before it gave up, any one of which could contain the actual error, which could be a typo, or a missing const, or some other strange type resolution issue. Compilers have made a lot of headway in improving the situation but it still sucks.