Hacker News new | ask | show | jobs
by jamier1978 1402 days ago
To me the two bits of code in the error handling case or not comparable. In the c++ case you would still handle the error in the if statement if it can be handled otherwise you would throw it. C++ has the advantages of giving you both options.