Comment

Comment by interlocutor

In the case of map function hopefully you're using it with methods that don't fail in serious ways, and don't need strong error recovery. If so Java has RuntimeException to handle that case. If serious errors are possible and strong error recovery is needed, then you need to avoid the conveniences offered by functional style programming.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton