Introduction
Functional programming: A new way to organize code
()
What you should know
()
1. Introduction to Functional Programming
Why use functional programming?
()
What is declarative programming?
()
Immutability in functional programming
()
Functional purity
()
First-class functions
()
2. First-Class Functions
The function interface
()
Lambda expressions
()
BiFunctions and beyond
()
Functions as data
()
Passing functions as arguments
()
Returning functions
()
Closure
()
Higher-order functions
()
3. Working with Streams in Java
Map in Java
()
Filter in Java
()
Reduce in Java
()
Collect in Java
()
Challenge: Stream exercises
()
Solution: Stream exercises
()
Combine list functions
()
Parallel streams
()
Challenge: Average salary calculator
()
Solution: Average salary calculator
()
4. Advanced Concepts
Challenge: Recursion
()
Solution: Recursion
()
Advanced functional concepts
()
Partial application and currying
()
Recursion
()
Composition
()
Ex_Files_Functional_Prog_Java.zip
(65 KB)