YoVDO

Refactoring to Java 8

Offered By: JetBrains via YouTube

Tags

Java Courses Code Readability Courses Lambda Expressions Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the benefits of Java 8 in this 71-minute conference talk by Trisha Gee. Learn how to automatically refactor code to leverage Java 8 features, comparing performance and readability before and after. Discover the advantages of lambda expressions, stream operations, and new collection methods. Gain insights into safety checks, designing for lambdas, and optimizing various loop constructs. Analyze the readability and performance implications of different refactoring approaches, including Stream.forEach, Stream.collect, Stream.anyMatch, Stream.findFirst, and Collection.removeIf. Conclude with a summary of findings and a Q&A session to deepen your understanding of effective Java 8 refactoring techniques.

Syllabus

Why Java 8
Safety checks
Refactoring to Lambda expressions
Performance of Lambda expressions
Designing for Lambda expressions
Refactoring “for” loop to Stream.forEach
Readability and performance: Stream.forEach vs “for” loop
Refactoring “for” loop to Stream.collect
Readability and performance: Stream.collect vs “for” loop
Collapsing multiple operations
Readability and performance: multiple operations
Refactoring “for” loop to Stream.anyMatch
Readability and performance: “for” loop vs Stream.anyMatch
Refactoring “for” loop to Stream.findFirst
Readability and performance: “for” loop vs Stream.findFirst
Refactoring to Collection.removeIf
Readability and performance: Collection.removeIf
Summary of findings
Q & A


Taught by

IntelliJ IDEA by JetBrains

Tags

Related Courses

Algorithms, Part I
Princeton University via Coursera
Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
MongoDB for Java Developers
MongoDB University
Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
Intro to Java Programming
San Jose State University via Udacity