Comment

Comment by djb_hackernews

"Significantly" is a bit dramatic when we are talking about the difference between a single extra method call.

One of the benefits of the Java version is it is easier to understand if you don't have a Java background but do have an FP background. With your C# example you'd need to find the documentation to find out what SelectMany does (which is probably just a helper method that abstracts a map and flatMap call)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton