4 ms·
I am not against checked exceptions per se. Their excessive use of them in the standard library and especially the inability of lambdas in handling them are a p
by chopin 7y ago
I am not against checked exceptions per se. Their excessive use of them in the standard library and especially the inability of lambdas in handling them are a problem imho. Take the stream close methods: There is absolutely no use in having those throwing a checked exception because there is nothing you can do. If closing is not possible you have problems with the underlying OS. That would rather warrant an error instead of an exception.