Перейти к содержимому

Let's Get Lazy: Exploring the Real Power of Streams with Venkat Subramaniam

Devoxx

0:00 / 0:00

Let's Get Lazy: Exploring the Real Power of Streams with Venkat Subramaniam

8 245 просмотров · 8 лет назад
Devoxx
171 тыс. подписчиков
8 245 просмотров · 8 лет назад
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.