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
Real World Functional Programming with Kotlin
Search
Ahmed Rizwan
January 19, 2019
Programming
0
130
Real World Functional Programming with Kotlin
Ahmed Rizwan
January 19, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
SourceGeneratorのススメ
htkym
0
200
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
CSC307 Lecture 09
javiergs
PRO
1
840
Patterns of Patterns
denyspoltorak
0
1.4k
CSC307 Lecture 03
javiergs
PRO
1
490
CSC307 Lecture 06
javiergs
PRO
0
690
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
CSC307 Lecture 02
javiergs
PRO
1
780
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
WCS-LA-2024
lcolladotor
0
450
Amusing Abliteration
ianozsvald
0
100
The SEO identity crisis: Don't let AI make you average
varn
0
290
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Designing for humans not robots
tammielis
254
26k
Crafting Experiences
bethany
1
49
Optimising Largest Contentful Paint
csswizardry
37
3.6k
A better future with KSS
kneath
240
18k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Transcript
Real world functional programming with Kotlin Ahmed Rizwan So7ware Engineer
(Mobile)
Common Functional Techniques by Jordan Parmer
The Goal Go through a simple real world application dealing
with control ?ow and errors, and demonstrate some functional techniques.
The Approach The concepts used/applied should be available on all
industry-accepted functional programming languages.
FP Languages C# F# Java/Kotlin Scala Clojure JavaScript PureScript Elm
Haskell Functional
FP Toolbox Functor Monads Applicatives …
Abstract DataTypes Option - Something or Nothing Either - Error
or Success IO - Side ESects Try - Exception …
Arrow Functional Companion to Kotlin’s Standard Library hWps://arrow-kt.io
The Railway PaCern Elegant Control-Flow
The Railway PaCern Source Parse Transform Send Success Failure
Two Possible Results Parse Success Failure
Bypass to Failure Parse Transform Failure
Example Time!
None
None
None
Live Coding
Code up on Github! https://github.com/ahmedrizwan/FunctionalKotlin-Demo