3 ms·
I'd be happier with checked exceptions if Java assumed that list.stream().map(doStuff) might throw whatever doStuff might throw, but instead map is defined
by erik_seaberg 8y ago
I'd be happier with checked exceptions if Java assumed that
list.stream().map(doStuff)
might throw whatever doStuff might throw, but instead map is defined so that doStuff can never throw any checked exception, which requires smuggling out every real-world failure mode.