Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introduction to functional programming with Jav...
Search
Dominic Barker
April 22, 2016
Programming
60
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
180
Model, View, Whatever.
dakuan
0
130
Somewhat Stylish
dakuan
1
65
Other Decks in Programming
See All in Programming
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.3k
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.2k
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.6k
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
430
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
140
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
370
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
570
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
5.5k
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
230
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
260
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
150
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
290
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Designing Experiences People Love
moore
143
24k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
What's in a price? How to price your products and services
michaelherold
247
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
380
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
How to make the Groovebox
asonas
2
2.5k
The Cult of Friendly URLs
andyhume
79
7k
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