Y
Hacker News
new
|
ask
|
show
|
jobs
by
millstone
2604 days ago
This sounds exactly like Java's checked exceptions.
1 comments
Fellshard
2604 days ago
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).
link