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
Functional Programming Principles in ScalaÉcole Polytechnique Fédérale de Lausanne via Coursera Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera Paradigms of Computer Programming
Université catholique de Louvain via edX Introduction to Functional Programming
Delft University of Technology via edX Paradigms of Computer Programming – Fundamentals
Université catholique de Louvain via edX