Главная
Study mode:
on
1
Intro
2
What is a functional program?
3
The OOP/FP dualism - FP
4
From Object to Function centric
5
A composable functional API
6
Essence of Functional Programming
7
Higher-order functions
8
A strategy pattern Converter
9
Using the Converter
10
A functional Converter
11
Currying
12
More Function Composition
13
A Salary Calculator Builder
14
Using the Salary Calculator Builder
15
Isolating Salary Rules
16
A Functional Salary Calculator
17
Using the Functional Salary Calculator
18
JAVASLANG A functional Library for Java 8
19
Error handling with Exceptions?
20
Error handling The functional alternatives
21
Error handling with Try monad
22
and how we can use it
23
Decoupling state and behavior
24
Introducing the Reader monad ...
25
API design is an iterative process
26
Strive for immutability
27
Avoid using exceptions for error handling
28
Use anemic object
29
FP allows better Reusability & Composability
30
Suggested readings
Description:
Explore the integration of object-oriented and functional programming paradigms in Java 8 through this insightful 56-minute Devoxx conference talk. Delve into the advantages of combining these two programming styles, focusing on how functional idioms can enhance business domain modeling. Learn about passing functions as data, creating thread-safe models with immutable objects, and improving code reusability through side-effect-free programming. Discover practical examples demonstrating function composition, higher-order functions, and the implementation of design patterns like strategy and builder in a functional context. Examine advanced concepts such as currying, error handling with monads, and the Reader monad for decoupling state and behavior. Gain valuable insights on API design, immutability, and the essence of functional programming, concluding with recommendations for further reading to deepen your understanding of these powerful programming techniques.

From Object Oriented to Functional Domain Modeling

Devoxx
Add to list
0:00 / 0:00