2 ms·
Java blew it on generic exceptions. stream.map(f).collect(...) should be able to throw anything f can throw, but instead f has to wrap everything, which mak
by erik_seaberg 7y ago
Java blew it on generic exceptions.
stream.map(f).collect(...)
should be able to throw anything f can throw, but instead f has to wrap everything, which makes people give up and stop declaring checked exceptions.