Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
millstone
on April 30, 2019
|
parent
|
context
|
favorite
| on:
Go 1.13: xerrors
This sounds exactly like Java's checked exceptions.
Fellshard
on April 30, 2019
[–]
The two are closely related concepts. You can model checked exceptions as a secondary return type, except without the same first-order representation (e.g. inability to specify checked exceptions in generic terms).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: