Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore innovative ways to leverage lambda expressions in Java for cleaner, more expressive code in this 42-minute conference talk by Ian Robertson, Application Architect at Myriad Genetics, Inc. Discover techniques beyond the Streams API to create friendlier APIs and reduce boilerplate. Learn about null-safe navigation, handling multiple method interfaces, exception transparency, resource management improvements, and creating comparators. Dive into JUnit 5 parameterized tests and type-safe testing. Gain insights on overcoming lambda limitations and implementing best practices to write beautiful, effective code that streamlines your Java development process.
Syllabus
Intro
Lambda trick: Null-Safe Navigation
Lambda trick: first non-null object
Lambda Trick: Multi-method interfaces
Exception Transparency via Generics
"Uncheck" Exceptions
Resource management In Java 7
Make a comparator
JUnit 5 Parameterized Tests
JUnit 5 Type-safe Parameterized Tests
Best practices
Taught by
Java