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

YouTube

The Sincerest Form of Flattery - How Java & Scala are Imitating Functional Languages

GOTO Conferences via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk compares how Java and Scala adopt features associated with functional programming. It examines Java generics and type erasure, closures and lambdas, Scala partial application, and pattern matching.

Syllabus

Intro
Functional Programming: Elegant, Mathematically Sound
Object-Oriented Languages: Successful but Envious
Java Ate Pizza in Three Courses
Generics - Stating the problems
Type Erasure in Generic Java
Type Erasure: How does it work? So the compiler is doing the type checking
Type Erasure vs. Inheritance How is inheritance handled?
How about List in Java?
Wildcards to the rescue! (really?)
Closures in Pizza
Closures Lambdas in Java
Closures in Scala
Partial Application in Scala
Pattern Matching in Pizza Just a switch on types already with deconstruction
Pattern Matching in Java
Conclusion

Taught by

GOTO Conferences

Reviews

Start your review of The Sincerest Form of Flattery - How Java & Scala are Imitating Functional Languages

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.