Let’s Get Lazy: Exploring the Real Power of Streams
Updated on November 19, 2018

Venkat Subramaniam
Award-winning author, founder of Agile Developer, Inc.

Efficiency is achieved not just by running things faster, but by avoiding things that shouldn't be done in the first place. Lazy evaluations are a core feature of many functional programming languages. Your code can benefit from lazy evaluations with lambda expressions and, more so, with the power of Streams. In this presentation, we'll start with a discussion of lazy evaluations, with short examples from Haskell and Scala. Then we'll dive into Java to see how we can achieve similar benefits using lambdas and the Stream API.
Related
CONTENT



Expert Talk: Five Lines of Code
March 7, 2023

Teaching Kids How to Code with Hedy
February 15, 2023

Java Current and Future
May 31, 2019