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
330
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
Are Developers Obsolete?
ramtop
0
160
Handling Json in Functional Way in Kotlin
ramtop
0
13
Earthquake and Kominka
ramtop
0
240
Let's Put the Fun Back in Functional Programming
ramtop
0
180
Error Handling and Logging in a Functional World
ramtop
0
740
Future Java: Project Valhalla LW2
ramtop
0
140
Quarkus.io + Kotlin = Supersonic Kotlin
ramtop
0
370
Microservices From The Trenches
ramtop
1
140
4 Rules of Simple Design in Functional Programming
ramtop
0
84
Other Decks in Programming
See All in Programming
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
150
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
480
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.9k
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
550
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
830
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
130
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
4.1k
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
320
gunshi
kazupon
1
130
クラウドに依存しないS3を使った開発術
simesaba80
0
200
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
530
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
170
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Thoughts on Productivity
jonyablonski
73
5k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
0
26
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
How to Talk to Developers About Accessibility
jct
1
92
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
How to make the Groovebox
asonas
2
1.9k
What's in a price? How to price your products and services
michaelherold
246
13k
Crafting Experiences
bethany
0
24
Building AI with AI
inesmontani
PRO
1
600
Producing Creativity
orderedlist
PRO
348
40k
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