Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
72deluxe
on March 5, 2014
|
parent
|
context
|
favorite
| on:
Critical crypto bug leaves Linux, hundreds of app...
It's amusing but I never thought of exceptions as gotos. But that's what they in essence.
ksk
on March 5, 2014
[–]
How are exceptions like gotos? I don't see any similarity. If by "essence" you mean they jump to a specific line of code, then lots of things can do that - switch/case , if/else, do/while, function calls/returns, etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: