Hacker News new | ask | show | jobs
by rmholt 662 days ago
I know it sucks but such is the price of C++

I'm not saying it's perfect but it's better than dealing with C++ exceptions. At least with error codes you can manually do some printing to find out what went wrong. With C++ exceptions you don't even get a line number or a stack trace.