Re:Lambda-style anonymous functions for C++ in less than 500...
by confuzatron on Tuesday April 13, 2010 @12:16PM
(#1262440)
Yeah, really it's a more general problem with the extreme expressiveness of C++ meaning that the compiler is less able to give a helpful error message than in other languages I've used. It seems that you can do anything in C++, but step out of line and you'll have trouble deciphering where you went wrong.
[ Parent
| on HN ]
Re:Lambda-style anonymous functions for C++ in less than 500...
by eru on Tuesday April 13, 2010 @07:29PM
(#1263681)
> extreme expressiveness of C++
You probably mean that the boundary between meaningful C++ programs and typos is not very well defined?
Re:Lambda-style anonymous functions for C++ in less than 500...
by confuzatron on Tuesday April 13, 2010 @07:36PM
(#1263694)
Exactly. Very well put.
Re:Lambda-style anonymous functions for C++ in less than 500...
by wheels on Tuesday April 13, 2010 @12:26PM
(#1262476)
Nah, it's actually more of a GCC problem than a C++ problem. Intel's compiler produces surprisingly sane error messages.
Re:Lambda-style anonymous functions for C++ in less than 500...
by zokier on Tuesday April 13, 2010 @01:45PM
(#1262759)
llvm/clang is supposed to have nice error messages
Re:Lambda-style anonymous functions for C++ in less than 500...
by confuzatron on Tuesday April 13, 2010 @12:48PM
(#1262551)
I can confirm it is also an MSVC problem.