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
0
80
ELM 101
Sample code at
https://github.com/danguita/elm-workshop
David Anguita
September 08, 2017
Tweet
Share
More Decks by David Anguita
See All by David Anguita
React on Rails
danguita
0
140
Docker 101 Rubyist Edition
danguita
0
130
Desarrolla Ruby como un Ninja
danguita
0
200
Other Decks in Technology
See All in Technology
スクラムを一度諦めたチームにアジャイルコーチが入ってどう変化したか / A Team's Second Try at Scrum with an Agile Coach
kaonavi
0
250
複雑さを受け入れるか、拒むか? - 事業成長とともに育ったモノリスを前に私が考えたこと #RSGT2026
murabayashi
1
2k
「アウトプット脳からユーザー価値脳へ」がそんなに簡単にできたら苦労しない #RSGT2026
aki_iinuma
11
5.3k
みんなでAI上手ピーポーになろう! / Let’s All Get AI-Savvy!
kaminashi
0
130
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
62k
純粋なイミュータブルモデルを設計してからイベントソーシングと組み合わせるDeciderの実践方法の紹介 /Introducing Decider Pattern with Event Sourcing
tomohisa
1
1.1k
さくらのクラウドでのシークレット管理を考える/tamachi.sre#2
fujiwara3
1
180
Kusakabe_面白いダッシュボードの表現方法
ykka
0
260
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.6k
Claude Codeを使った情報整理術
knishioka
20
12k
AI Agent Standards and Protocols: a Walkthrough of MCP, A2A, and more...
glaforge
0
310
Scrum Guide Expansion Pack が示す現代プロダクト開発への補完的視点
sonjin
0
680
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Mobile First: as difficult as doing things right
swwweet
225
10k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
エンジニアに許された特別な時間の終わり
watany
106
230k
Design in an AI World
tapps
0
120
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
230
BBQ
matthewcrist
89
10k
Technical Leadership for Architectural Decision Making
baasie
0
210
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
880
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
GitHub's CSS Performance
jonrohan
1032
470k
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