Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SoftwareMaven
on March 8, 2011
|
parent
|
context
|
favorite
| on:
Real cost of C++ exception vs error-code checking
But you have to unwind the stack either way. With exceptions, the exception handling does it. With error checking, you do it every time you type "if (something() == -1) return -1;"
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: