Skip to content
0:00 / 0:00

#javastreams#functionalprogramming#imperativeprogramming

If Streams Are So Great, Let’s Use Them Everywhere... Right?? by Maurice Naftalin, José Paumard

Devoxx

172K subscribers • 52 videos on Hallway • Conference channel

YouTube
  • One of the most-watched uploads on Devoxx, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by Maurice Naftalin and José Paumard
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

18K views2 years ago

Programming languagesJava and the JVMFunctional programmingPerformance and optimization

Maurice Naftalin and José Paumard compare imperative and functional styles in Java, debating where streams excel and where they fall short.

Using streams everywhere: is that really a good idea? Certainly, stream code is often much clearer and more concise than iteration over a collection. But sometimes a stream solution requires a complex combination of collectors, reduction over a primitive stream, or nested FlatMap operations, and the verdict isn’t so obvious. In this talk, we’ll look at some sample use cases, evolve the best solutions we can, in both imperative and functional styles, and then argue over which is better. You’ll get a vote too!This session is for everyone who needs to write code in Java for bulk data processing – every Java developer, in fact. You’ll leave hopefully entertained, and with a better idea of the use cases where streams excel, and where you’re better staying with old-fashioned ways.

Why it's here

A top upload from a listed channel

Devoxx is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.