Refactoring to Java 8

In this demo, Trisha highlights the benefits of using Java 8, demonstrates how to automatically refactor your code to make use of them, and compare performance and readability of the code before and after the refactorings.

0:38 Why Java 8
2:51 Safety checks
6:20 Refactoring to Lambda expressions
11:48 Performance of Lambda expressions
13:35 Designing for Lambda expressions
19:12 Refactoring “for” loop to Stream.forEach
23:44 Readability and performance: Stream.forEach vs…

Leave a Reply

Your email address will not be published. Required fields are marked *