Home Conference Sessions Let’s Get Lazy: ...

Let’s Get Lazy: Exploring the Real Power of Streams

Venkat Subramaniam | GOTO Copenhagen 2018

You need to be signed in to add a collection

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.

Share on:
linkedin facebook
Copied!

Transcript

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.

About the speakers

Venkat Subramaniam

Venkat Subramaniam

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