Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Unlearn OOP (if you want to learn FP)
Search
Uberto Barbini
November 29, 2019
Programming
340
0
Share
Unlearn OOP (if you want to learn FP)
Keynote at the Italian Kolin Community Conference 2019
Uberto Barbini
November 29, 2019
More Decks by Uberto Barbini
See All by Uberto Barbini
Are Developers Obsolete?
ramtop
0
180
Handling Json in Functional Way in Kotlin
ramtop
0
25
Earthquake and Kominka
ramtop
0
260
Let's Put the Fun Back in Functional Programming
ramtop
0
200
Error Handling and Logging in a Functional World
ramtop
0
770
Future Java: Project Valhalla LW2
ramtop
0
160
Quarkus.io + Kotlin = Supersonic Kotlin
ramtop
0
390
Microservices From The Trenches
ramtop
1
160
4 Rules of Simple Design in Functional Programming
ramtop
0
91
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
460
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
360
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
2
330
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.6k
AI時代になぜ書くのか
mutsumix
0
410
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
150
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
840
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
160
空間オーディオの活用
objectiveaudio
0
150
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
200
【ディップ|26年新卒研修資料】TDD実装演習
dip_tech
PRO
0
190
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
180
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
The Limits of Empathy - UXLibs8
cassininazir
1
330
The Curious Case for Waylosing
cassininazir
1
350
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Crafting Experiences
bethany
1
150
Rails Girls Zürich Keynote
gr2m
96
14k
So, you think you're a good person
axbom
PRO
2
2k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
530
Marketing to machines
jonoalderson
1
5.3k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
Transcript
Unlearn Object Oriented Programming (if you want to learn Functional
Programming) Uberto Barbini ramtop @
When I was a kid I wanted to become a
Naturalist
I kept reading books about Natural Sciences
I kept reading books about Natural Sciences
I kept reading books about Natural Sciences
Classification was simple...
Then Cladistic arrived... Common ancestors
And birds became dinosaurs!
We are all fish, technically
Scientists are humans...
None
https://pixabay.com/users/endriqstudio-13819715/ https://pixabay.com/users/endriqstudio-13819715/
It’s not easy to Unlearn
None
https://pixabay.com/users/sasint-3639875/ https://pixabay.com/users/sasint-3639875/ Object Oriented vs Functional
None
None
None
None
None
None
Thou Shalt Have No Manager Class
None
None
None
None
None
Credits https://pixabay.com/users/sasint-3639875/ Credits https://pixabay.com/users/sasint-3639875/ The Elephant in the room
None
Object-Oriented Functional
Url Shortener
Url Shortener
Unlearn What seems What seems wrong wrong but it’s but
it’s right right? ? What seems What seems right right but it’s but it’s wrong wrong? ?
None
Well Defined Types
None
Generics are Type builders
None
Anemic Objects Immutable Data
None
Don’t use Exceptions as result
None
Side effects should be left out
None
Function types instead of Interfaces
None
Which Language or Library should I use?
The ones that spark joy!
Where should I start in an existing Legacy Project?
https://pixabay.com/users/1588877-1588877/ Small changes
None
Unlearn is difficult Functional Programming is made of Arrows Look
at your code with new eyes (plus we are fish)
Excuses to avoid learning FP: It’s just a bunch of
funny words I don’t have time What’s the point?
Tell me your Questions! Uberto Barbini @ramtop Blog https://medium.com/@ramtop Book:
https://tinyurl.com/funkotlinbook