$30 off During Our Annual Pro Sale. View Details »
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
12
Earthquake and Kominka
ramtop
0
230
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
130
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
83
Other Decks in Programming
See All in Programming
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
260
愛される翻訳の秘訣
kishikawakatsumi
3
330
JETLS.jl ─ A New Language Server for Julia
abap34
1
420
sbt 2
xuwei_k
0
300
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
Developing static sites with Ruby
okuramasafumi
0
310
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
160
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
850
エディターってAIで操作できるんだぜ
kis9a
0
740
非同期処理の迷宮を抜ける: 初学者がつまづく構造的な原因
pd1xx
1
730
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
300
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
120
Featured
See All Featured
First, design no harm
axbom
PRO
1
1k
How to make the Groovebox
asonas
2
1.8k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
85
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
2
2.7k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
We Are The Robots
honzajavorek
0
110
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
29
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
150
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
120
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
28
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