Hacker News new | ask | show | jobs
by erik_seaberg 1803 days ago
It’s not always laziness, in Java

  stream.map(f)
doesn’t allow f to declare any checked exceptions. We could catch and wrap everything but that obscures the useful code without any improvement in safety.