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
ATL JS: Intro to Elm
Search
Jeremy Fairbank
November 28, 2017
Programming
0
120
ATL JS: Intro to Elm
Jeremy Fairbank
November 28, 2017
Tweet
Share
More Decks by Jeremy Fairbank
See All by Jeremy Fairbank
Connect.Tech 2020: Advanced Cypress Testing
jfairbank
1
230
CodeMash 2020: Solving the Boolean Identity Crisis
jfairbank
1
180
CodeMash 2020: Practical Functional Programming
jfairbank
1
340
Connect.Tech 2019: Practical Functional Programming
jfairbank
0
400
Connect.Tech 2019: Solving the Boolean Identity Crisis
jfairbank
0
200
Lambda Squared 2019: Solving the Boolean Identity Crisis
jfairbank
0
150
All Things Open 2018: Practical Functional Programming
jfairbank
2
270
Connect.Tech 2018: Effective React Testing
jfairbank
1
190
Fluent Conf 2018: Building web apps with Elm Tutorial
jfairbank
2
900
Other Decks in Programming
See All in Programming
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
1.8k
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
150
Event Storming
hschwentner
3
1.3k
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
170
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
440
オブザーバビリティ駆動開発って実際どうなの?
yohfee
1
480
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜 / Understanding nil in Go Interface Representation and Why nil != nil
kuro_kurorrr
2
1.1k
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
1
120
浮動小数の比較について
kishikawakatsumi
0
340
CSC307 Lecture 08
javiergs
PRO
0
690
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
22
8k
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
420
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
160
A Soul's Torment
seathinner
5
2.3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
110
Marketing to machines
jonoalderson
1
5k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
300
Odyssey Design
rkendrick25
PRO
2
520
Building an army of robots
kneath
306
46k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
First, design no harm
axbom
PRO
2
1.1k
Transcript
Intro to Elm Jeremy Fairbank @elpapapollo / jfairbank
Software is broken. We are here to fix it. Say
[email protected]
Functional and statically typed programming language for frontend development elm
Web and UI Focused
Compiles to JavaScript
No runtime exceptions in practice.
The 2nd argument to function `add` is causing a mismatch.
7| add 2 "3" ^^^ Function `add` is expecting the 2nd argument to be: Int But it is: String Compile time static type checks
Functional
Pure Data in Data out
Pure No side effects
Pure Predictable and Testable!
Immutable Data • Safety and consistency • Explicit flow of
data • No subtle mutation bugs
No undefined is not a function
Fast
One framework. No fatigue. Update View Model Messages
model Update View
model Update View VDOM
model Update View
model Update View
model Update View
model Update View
model Update View
model Update View VDOM
✓ Easier to write code ✓ Easier to write tests
✓ Easier to refactor
Demo
Getting Started • elm-lang.org • elm-lang.org/examples • guide.elm-lang.org • www.elm-tutorial.org
• builtwithelm.co • Slack • elmlang.herokuapp.com
Programming Elm: Build Safe and Maintainable Front-End Applications Follow @elpapapollo
for future updates
Thanks! Jeremy Fairbank @elpapapollo / jfairbank Slides: bit.ly/elm-atl-js Demo: bit.ly/elm-atl-js-demo