Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
goalieca
on May 11, 2018
|
parent
|
context
|
favorite
| on:
The Evolution of C Programming Practices: A Study ...
if (False) goto error;
vs.
if (False) throw ExceptionE;
Gibbon1
on May 11, 2018
|
next
[–]
Ehem
if(False) longjump(error, 1); vs if (False) throw ExceptionE;
hindsightRegret
on May 11, 2018
|
parent
|
next
[–]
Good job, compiler :)
jimmy1
on May 11, 2018
|
prev
[–]
You highlighted in this comparison why I hate exception handling in OOP languages, and just generally the common practices prescribed for handling errors.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
vs.
if (False) throw ExceptionE;