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

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.


> extreme expressiveness of C++

You probably mean that the boundary between meaningful C++ programs and typos is not very well defined?


Exactly. Very well put.


Nah, it's actually more of a GCC problem than a C++ problem. Intel's compiler produces surprisingly sane error messages.


llvm/clang is supposed to have nice error messages


I can confirm it is also an MSVC problem.




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

Search: