Refactoring to Java 8

Описание к видео 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 “for” loop
26:08 Refactoring “for” loop to Stream.collect
28:38 Readability and performance: Stream.collect vs “for” loop
31:31 Collapsing multiple operations
35:16 Readability and performance: multiple operations
36:47 Refactoring “for” loop to Stream.anyMatch
37:47 Readability and performance: “for” loop vs Stream.anyMatch
39:44 Refactoring “for” loop to Stream.findFirst
41:37 Readability and performance: “for” loop vs Stream.findFirst
42:28 Refactoring to Collection.removeIf
43:24 Readability and performance: Collection.removeIf
43:48 Summary of findings
50:10 Q & A

More information: http://trishagee.github.io/presentati...

*Author: Trisha Gee

Download IntelliJ IDEA: https://jb.gg/download-intellij-idea

Join us:

Website https://jb.gg/website
Blog https://jb.gg/blog
Twitter   / intellijidea  
Facebook   / intellijidea  

Комментарии

Информация по комментариям в разработке