Overview
Syllabus
Intro
What is a functional program?
The OOP/FP dualism - FP
From Object to Function centric
A composable functional API
Essence of Functional Programming
Higher-order functions
A strategy pattern Converter
Using the Converter
A functional Converter
Currying
More Function Composition
A Salary Calculator Builder
Using the Salary Calculator Builder
Isolating Salary Rules
A Functional Salary Calculator
Using the Functional Salary Calculator
JAVASLANG A functional Library for Java 8
Error handling with Exceptions?
Error handling The functional alternatives
Error handling with Try monad
and how we can use it
Decoupling state and behavior
Introducing the Reader monad ...
API design is an iterative process
Strive for immutability
Avoid using exceptions for error handling
Use anemic object
FP allows better Reusability & Composability
Suggested readings
Taught by
Devoxx