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
testingを眺める
matumoto
1
140
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
1
460
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
7
2.6k
Android 16 × Jetpack Composeで縦書きテキストエディタを作ろう / Vertical Text Editor with Compose on Android 16
cc4966
2
270
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
Ruby Parser progress report 2025
yui_knk
1
460
Cache Me If You Can
ryunen344
2
4k
AI時代のUIはどこへ行く?
yusukebe
18
9.1k
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
480
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
510
Swift Updates - Learn Languages 2025
koher
2
520
個人開発で徳島大学生60%以上の心を掴んだアプリ、そして手放した話
akidon0000
1
150
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Being A Developer After 40
akosma
90
590k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Typedesign – Prime Four
hannesfritz
42
2.8k
Automating Front-end Workflow
addyosmani
1370
200k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Documentation Writing (for coders)
carmenintech
74
5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
850
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