$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to functional programming with Jav...
Search
Dominic Barker
April 22, 2016
Programming
0
56
Introduction to functional programming with Javascript
Dominic Barker
April 22, 2016
Tweet
Share
More Decks by Dominic Barker
See All by Dominic Barker
Atomic Architecture
dakuan
3
160
Model, View, Whatever.
dakuan
0
130
Somewhat Stylish
dakuan
1
61
Other Decks in Programming
See All in Programming
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.4k
非同期処理の迷宮を抜ける: 初学者がつまづく構造的な原因
pd1xx
1
710
20 years of Symfony, what's next?
fabpot
2
350
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
110
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
7.1k
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
160
WebRTC、 綺麗に見るか滑らかに見るか
sublimer
1
160
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
6
1.3k
Integrating WordPress and Symfony
alexandresalome
0
150
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
2
950
tparseでgo testの出力を見やすくする
utgwkk
2
210
AIコーディングエージェント(skywork)
kondai24
0
170
Featured
See All Featured
Code Review Best Practice
trishagee
74
19k
Site-Speed That Sticks
csswizardry
13
1k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
100
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
It's Worth the Effort
3n
187
29k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Visualization
eitanlees
150
16k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Navigating Team Friction
lara
191
16k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
How STYLIGHT went responsive
nonsquared
100
6k
Transcript
Introduction to Functional programming (with javascript)
It is not rocket science
None
None
It is (probably) not a different paradigm of programming
It’s not new
Functional programming is a way of modelling a system in
terms of processes. Verbs not nouns.
input λ output data algorithm data
http request server http response db
react html http response mouse click keypress timer
f(data) => View
Functional programming suits the web
Erm. About all that terminology.
Pure function
Not a pure function
Not a pure function
Higher order function
map [a, b, c] [b, c, d] map [1] [11]
map
reduce [1, 2, 3] 6 reduce [1, 2, 3, 4]
reduce [2, 4]
[1, 2, 3, 4] reduce [1, 2, 2, 3, 3,
3, 4, 4, 4, 4]
map => reduce [{name: bob, age: 42}, {name: jenny, age:
40}] [42, 40] map [82] reduce
None
None
To the code!
Fin
None