Lambda Chops - Recipes for Simpler, More Expressive Code in Java
Offered By: Java via YouTube
Course Description
Overview
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
Related Courses
Algorithms, Part IPrinceton 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