MENU

Fun & Interesting

Streamtoxication: How a Fluent API turns into a Tangled Mess by Victor Rentea

Devoxx 614 2 weeks ago
Video Not Working? Fix It Now

Should we use streams everywhere? Certainly, using streams is often clearer and more concise than iterating a collection. But sometimes stream code requires a complex combination of collectors, folding, monads, and nested flatMap operations, which makes the verdict debatable. In this session, we will pick several use cases, workout the best solutions in both imperative and functional styles, and then argue which is better. Of course, you'll get to vote! If you're a Java developer, you shouldn't miss this session! You'll have fun, replenish your energy, and leave with a better idea of where streams excel, and where you should stay with old-fashioned imperative style.

Comment