Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
_dky
· 1y ago · 0 comments
If C++ had a contract on what exceptions a function can throw with compile time check to enforce caller catches those exceptions, would it make it better?
Guess Java does that, not much experience in Java here.
Comments
[–]
rerdavies
1y ago
Java does it. It is a horrible horrible feature. C# used to do it. But they decided it's a horrible horrible feature, and removed it.