GeeCON 2025: Maurice Naftalin - If Streams Are So Great, Let's usage Them Everywhere... Right?

youtube.com 1 dzień temu


Using streams everywhere: is that truly a good idea? Certainly, stream code is frequently much clearer and more concise than iteration over a collection. But sometimes a stream solution requires a complex combination of collectors, simplification over a primitive stream, or nested FlatMap operations, and the verdict isn't so obvious.

In this talk, we'll look at any example usage cases, evolve the best solutions we can, in both imperative and functional styles, and then argue over which is better. This session is for everyone who needs to compose code in Java for bulk data processing - all Java developer, in fact. You'll leave hopefully entertained, and with a better thought of the usage cases where streams excel, and where you're better staying with old-fashioned ways.