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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
29
Earthquake and Kominka
ramtop
0
270
Let's Put the Fun Back in Functional Programming
ramtop
0
210
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
400
Microservices From The Trenches
ramtop
1
170
4 Rules of Simple Design in Functional Programming
ramtop
0
92
Other Decks in Programming
See All in Programming
Skillは並べた。動かなかった。契約で繋いだ。— 65個のSkillから、自走する開発サイクルへ
junholee
0
790
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
270
初めてのRubyKaigiはこう見えた
jellyfish700
0
350
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
490
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
2.5k
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
11k
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
110
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
12
3.3k
色即是空、空即是色、データサイエンス
kamoneggi
1
210
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
5
1k
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
100
OSもどきOS
arkw
0
330
Featured
See All Featured
Visualization
eitanlees
152
17k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
560
From π to Pie charts
rasagy
0
190
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
370
Six Lessons from altMBA
skipperchong
29
4.3k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
470
New Earth Scene 8
popppiees
3
2.3k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
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