Y
Hacker News
new
|
ask
|
show
|
jobs
by
goalieca
2962 days ago
if (False) goto error;
vs.
if (False) throw ExceptionE;
2 comments
Gibbon1
2962 days ago
Ehem
if(False) longjump(error, 1); vs if (False) throw ExceptionE;
link
hindsightRegret
2962 days ago
Good job, compiler :)
link
jimmy1
2962 days ago
You highlighted in this comparison why I hate exception handling in OOP languages, and just generally the common practices prescribed for handling errors.
link