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
ELM 101
Search
David Anguita
September 08, 2017
Technology
93
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ELM 101
Sample code at
https://github.com/danguita/elm-workshop
David Anguita
September 08, 2017
More Decks by David Anguita
See All by David Anguita
React on Rails
danguita
0
150
Docker 101 Rubyist Edition
danguita
0
140
Desarrolla Ruby como un Ninja
danguita
0
210
Other Decks in Technology
See All in Technology
魔法少女がClaude Codeを監視する / ccportal-deck
noriyukitakei
3
120
作り直せるコードは迅速に 作り直せないDBは慎重に - AI時代のプロダクトエンジニアが「判断の不可逆性」で開発速度を変える話
kinosuke01
0
170
Claude Codeの体系的な理解と知識のフック
oikon48
10
6.6k
Kiro Crewしか勝たん!?
miu_crescent
PRO
0
170
振り返りこそエンジニアの本領
negima
0
260
Self Healing Rollouts: Automating Production Fixes with Agentic AI
kdubois
0
140
AI時代に、プロダクトの数だけ積み上がる所有コストをどうエンジニアリングするか / Engineering the Cost of Ownership
kzkmaeda
0
920
V8コントリビュート超入門
riyaamemiya
0
130
『止めない』を設計する — 制約の中で、事業の根幹を支える判断
hiroyaterui
0
140
AndroidでHDRメディアを「壊さずに」扱う
chigichan24
0
370
多摩川(.dev)ランニング入門 / Tamagawa.dev#3
fujiwara3
3
320
Nav2、Nav3 ... はたまた自作?〜 作って理解する Nav3 の設計意図 〜 / Nav2, Nav3 ... or Build Your Own? — Understanding Nav3's design intent by building it from scratch
yanzm
0
200
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Practical Orchestrator
shlominoach
191
12k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
New Earth Scene 8
popppiees
3
2.5k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
220
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
GraphQLとの向き合い方2022年版
quramy
50
15k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Chasing Engaging Ingredients in Design
codingconduct
0
300
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Documentation Writing (for coders)
carmenintech
77
5.5k
Transcript
ELM 101 David Anguita @ Jobandtalent
None
The core language
• Purely functional (looks like Haskell) • Expressive syntax •
Statically typed • Immutable data structures • Very nice debugger • Compiles to JavaScript
No more runtime exceptions
How does it look like?
DEMO
The Elm Architecture
Model — the state of your application Update — a
way to update the state View — a way to view your state as HTML
Command — triggers an event identified by a Message type
Subscription — listens for external input
Image credit: https://sporto.github.io/elm-workshop/
VS React + Redux
Elm React + Redux Model State Update Reducer Message Action
(kind of)
DEMO
Where to get started
• http://elm-lang.org/docs/ • http://package.elm-lang.org/packages/elm-lang/core/latest/ • NoRedInk/elm-style-guide + avh4/elm-format • https://guide.elm-lang.org
• isRuslan/awesome-elm
Thank you
Questions?
Jobandtalent, September 2017