Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of lambda expressions in Java through this 44-minute presentation. Begin with a review of JDK 8 lambda expressions before delving into their performance implications, focusing on the use of invokedynamic instead of simple syntactic sugar for anonymous inner classes. Trace the 80-year history of lambda expressions back to Alonso Church's lambda calculus. Discover how a single new functional interface can theoretically solve any problem using only lambda expressions. Prepare for a mind-bending journey through topics including lambda expression syntax, method references, implementation differences, Church numerals, and solving basic arithmetic problems using lambdas. Challenge your understanding of Java programming and embrace a new perspective on functional programming concepts.
Syllabus
Intro
Java Lambda Expressions
Lambda Expression Syntax
Method References
Lambdas & Anonymous Inner Classes
Lambda Implementation
Implementation Differences
Exploding Head Lambdas • Java programmers are typically imperative programmers
Functional Interface
Function Basics (Booleans)
Church Numerals
Solving 2 + 2 With Lambdas
Taught by
Java