Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cloogshicer
11 months ago
|
parent
|
context
|
favorite
| on:
Use Your Type System
There
is
a major difference at the call site.
try/catch has significantly more complex call sites because it affects control flow.
Jensson
11 months ago
[–]
That is just a syntactic sugar difference, you could have exactly the same call site structure if you wanted in a language.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
try/catch has significantly more complex call sites because it affects control flow.