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
イベントストーミングによるオブジェクトモデリング・オブジェクト指向プログラミングの適用・開発プロセスの変遷・アーキテクチャの変革 / Object modeling with Event Storming.
nrslib
12
3.1k
Migrating to Signals: A Practical Workshop
manfredsteyer
PRO
0
280
Crafting a Own PHP - ウキウキ手作りミニマリストPHP
uzulla
4
1.1k
Kotlinを用いたDSL的な設計手法と使用上の注意
kohii00
3
530
Laravel OpenAPIによる"辛くない"スキーマ駆動開発
kentaroutakeda
2
2.1k
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
1
130
マイ隙間家具OSSたちのご紹介
karupanerura
2
160
PHP8の機能を使って堅牢にコードを書く
fendo181
6
2.6k
Introduction for Open Source Swift Workshop
giginet
PRO
0
290
[スクリプト] Swiftの型推論を学ぼう
omochi
0
120
上手な探索的テストとその上達方法について
matsu802
4
650
DDDはなぜ難しいのか / 良いコードの定義と設計能力の壁
pospome
24
7.5k
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
66
8.5k
Git: the NoSQL Database
bkeepers
PRO
421
63k
Scaling GitHub
holman
456
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
15
6.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
319
23k
Why Our Code Smells
bkeepers
PRO
330
56k
Designing on Purpose - Digital PM Summit 2013
jponch
109
6.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
10
4.5k
What's new in Ruby 2.0
geeforr
335
31k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
12
1.4k
Building an army of robots
kneath
300
41k
Producing Creativity
orderedlist
PRO
335
39k
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