Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
baq
on July 13, 2017
|
parent
|
context
|
favorite
| on:
Toward Go 2
yeah but better because you don't break the world if you add a new exception to a public method.
concede_pluto
on July 14, 2017
[–]
Declaring that every method throws Exception doesn't break the world any more than every Go function returning an argument of type error. You're intentionally saying pretty much anything could go wrong and nobody can plan ways to recover.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: