|
|
|
|
|
by Terr_
247 days ago
|
|
> So you think java's checked exceptions are a better model? Checked Exceptions are a good concept which just needed more syntactic-sugar. (Like easily specifying that one kind of exception should be wrapped into another.) The badness is not in the logic but in the ecology, the ways that junior/lazy developers are incentivized to take horrible shortcuts. Checked exceptions are fundamentally the same as managing the types of return-values... except the language doesn't permit the same horrible-shortcuts for people to abuse. Meme reaction: http://imgur.com/iYE5nLA _____ Prior discussion: https://news.ycombinator.com/item?id=42946597 |
|