Overview
Explore common pitfalls in functional Java programming and learn how to avoid them in this 50-minute conference talk from Devoxx. Delve into the intricacies of functional style programming introduced in Java 8 and expanded in Java 9, addressing the challenges faced by developers transitioning from imperative OOP. Discover techniques to leverage Java's functional capabilities effectively, creating cleaner, more readable code. Gain insights into proper usage of lambdas, higher-order functions, streams, mutable objects, optionals, and exception handling in functional contexts. Master the art of integrating functional programming concepts into everyday Java projects, unlocking the full potential of Java 9's functional constructs.
Syllabus
Introduction
I work with colleagues
What is a lambda
Higherorder functions
Returning a stream
Consuming a stream
Peak
Mutable objects
Einstein quote
Mutate
ForEach
FlatMap
Order of Operations
Optionals
Optionals are objects
Empty optionals
URL
Ariana 5 accident
lambda exceptions
lambda exceptions example
making our own functional interface
runtime exceptions
lift with value
try
Taught by
Devoxx