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
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
150
Model, View, Whatever.
dakuan
0
130
Somewhat Stylish
dakuan
1
61
Other Decks in Programming
See All in Programming
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
1k
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
800
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
110
Devvox Belgium - Agentic AI Patterns
kdubois
1
120
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
170
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
10
6.7k
なぜGoのジェネリクスはこの形なのか? Featherweight Goが明かす設計の核心
ryotaros
7
1.1k
dynamic!
moro
10
7.9k
Catch Up: Go Style Guide Update
andpad
0
230
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
130
Le côté obscur des IA génératives
pascallemerrer
0
150
明日から始めるリファクタリング
ryounasso
0
140
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.7k
Facilitating Awesome Meetings
lara
56
6.6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Agile that works and the tools we love
rasmusluckow
331
21k
4 Signs Your Business is Dying
shpigford
185
22k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
870
YesSQL, Process and Tooling at Scale
rocio
173
14k
Become a Pro
speakerdeck
PRO
29
5.5k
How to train your dragon (web standard)
notwaldorf
97
6.3k
How to Ace a Technical Interview
jacobian
280
24k
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