▲ | elric 2 days ago | ||||||||||||||||
I disagree entirely, but I'd love to hear your arguments (other than vague allusions to "popularity" and other languages). Improved checked exception handling in Streams would be nice, but that's my only gripe with them. They force you to stop and think, which is a good thing. There are some checked exceptions that should probably be unchecked, like UnsupportedEncodingException thrown by ByteArrayOutputStream::toString which takes a charset name. I'm sure there are other subclasses of IOException that could be an IllegalArgumentException instead. But those few inconveniences don't invalidate the concept of checked exceptions. | |||||||||||||||||
▲ | peterashford a day ago | parent [-] | ||||||||||||||||
I'm 100% with you - Streams is the one area where I think they dont pay well. Everywhere else, they're fine | |||||||||||||||||
|