Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Lambda Chops - Recipes for Simpler, More Expressive Code in Java

Java via YouTube

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

Reviews

Start your review of Lambda Chops - Recipes for Simpler, More Expressive Code in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.