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
0
310
Unlearn OOP (if you want to learn FP)
Keynote at the Italian Kolin Community Conference 2019
Uberto Barbini
November 29, 2019
Tweet
Share
More Decks by Uberto Barbini
See All by Uberto Barbini
Earthquake and Kominka
ramtop
0
200
Let's Put the Fun Back in Functional Programming
ramtop
0
170
Error Handling and Logging in a Functional World
ramtop
0
730
Future Java: Project Valhalla LW2
ramtop
0
120
Quarkus.io + Kotlin = Supersonic Kotlin
ramtop
0
360
Microservices From The Trenches
ramtop
1
120
4 Rules of Simple Design in Functional Programming
ramtop
0
80
4 Rules of Simple Design in Functional Programming
ramtop
1
1.2k
Project Valhalla and Value Types
ramtop
0
350
Other Decks in Programming
See All in Programming
実践!App Intents対応
yuukiw00w
1
360
tool ディレクティブを導入してみた感想
sgash708
1
150
Namespace and Its Future
tagomoris
6
540
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.1k
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
8
3.2k
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
15
8.4k
Scale out your Claude Code ~自社専用Agentで10xする開発プロセス~
yukukotani
9
2.6k
令和最新版手のひらコンピュータ
koba789
14
8k
AHC051解法紹介
eijirou
0
630
あのころの iPod を どうにか再生させたい
orumin
2
2.5k
「リーダーは意思決定する人」って本当?~ 学びを現場で活かす、リーダー4ヶ月目の試行錯誤 ~
marina1017
0
240
KessokuでDIでもgoroutineを活用する / Go Connect #6
mazrean
0
120
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
570
Being A Developer After 40
akosma
90
590k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Building Applications with DynamoDB
mza
96
6.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How to Ace a Technical Interview
jacobian
279
23k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Scaling GitHub
holman
462
140k
The Cult of Friendly URLs
andyhume
79
6.6k
Navigating Team Friction
lara
189
15k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
820
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