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
58
0
Share
Introduction to functional programming with Javascript
Dominic Barker
April 22, 2016
More Decks by Dominic Barker
See All by Dominic Barker
Atomic Architecture
dakuan
3
170
Model, View, Whatever.
dakuan
0
130
Somewhat Stylish
dakuan
1
63
Other Decks in Programming
See All in Programming
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.7k
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
290
AIと共に生きる技術選定 2026
sgash708
0
110
From Formal Specification to Property Based Test
ohbarye
0
500
Don't Prompt Harder, Structure Better
kitasuke
0
790
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
140
tRPCの概要と少しだけパフォーマンス
misoton665
2
250
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
190
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
24
16k
t *testing.T は どこからやってくるの?
otakakot
1
830
「話せることがない」を乗り越える 〜日常業務から登壇テーマをつくる思考法〜
shoheimitani
4
910
Agentic Elixir
whatyouhide
0
420
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
110
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
Google's AI Overviews - The New Search
badams
0
990
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
480
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Ethics towards AI in product and experience design
skipperchong
2
260
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
100
Prompt Engineering for Job Search
mfonobong
0
280
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