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
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
410
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
290
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
350
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
7k
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
190
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
6.7k
開発生産性を上げるための生成AI活用術
starfish719
3
1.6k
CSC305 Lecture 08
javiergs
PRO
0
270
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
230
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
CSC305 Lecture 10
javiergs
PRO
0
220
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
190
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Designing for humans not robots
tammielis
254
26k
A designer walks into a library…
pauljervisheath
209
24k
How to train your dragon (web standard)
notwaldorf
97
6.3k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Docker and Python
trallard
46
3.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Visualization
eitanlees
149
16k
The Pragmatic Product Professional
lauravandoore
36
7k
Agile that works and the tools we love
rasmusluckow
331
21k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
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