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
Flow, du strong, static typing pour JavaScript
Search
Matthias Le Brun
May 25, 2016
Programming
0
500
Flow, du strong, static typing pour JavaScript
Présentation de Flow et de ses capacités en matière de type-checking
Matthias Le Brun
May 25, 2016
Tweet
Share
More Decks by Matthias Le Brun
See All by Matthias Le Brun
GraphQL, Pothos & SQLite: a perfect match
bloodyowl
0
58
(why the hell did I) build a GraphQL client for the browser
bloodyowl
0
110
Boxed: bringing algebraic types to TypeScript
bloodyowl
0
140
leveraging (algebraic data) types to make your UI rock @ jsheroes
bloodyowl
0
300
Leveraging (algebraic data) types to make your UI rock solid
bloodyowl
0
440
La drôle d'histoire de JavaScript
bloodyowl
0
380
Healthy Code Collaboration
bloodyowl
0
320
Simplify your UI management with (algebraic data) types
bloodyowl
0
820
Simplify your UI management with (algebraic data) types
bloodyowl
1
550
Other Decks in Programming
See All in Programming
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
150
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
170
AIエージェントの設計で注意するべきポイント6選
har1101
6
2.8k
はじめてのカスタムエージェント【GitHub Copilot Agent Mode編】
satoshi256kbyte
0
130
Basic Architectures
denyspoltorak
0
150
AtCoder Conference 2025
shindannin
0
850
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
150
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
580
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
240
Graviton と Nitro と私
maroon1st
0
150
AtCoder Conference 2025「LLM時代のAHC」
imjk
2
610
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
210
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
39
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
180
Exploring anti-patterns in Rails
aemeredith
2
220
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
41
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
350
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
860
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
260
Raft: Consensus for Rubyists
vanstee
141
7.3k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
880
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
The SEO Collaboration Effect
kristinabergwall1
0
320
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Transcript
Flow du strong, static typing pour JavaScript
Matthias Le Brun @bloodyowl Lead front end developer @ BeOpinion
Putain de code
None
Node Element
JavaScript • undefined is not a function • TypeError: Cannot
read property "bar" of undefined • "undefined commentaires" • "You have [object Object] messages" • TypeError: TypeError • ReferenceError: Can't find variable: foo • NaN
JavaScript Weakly typed
JavaScript Dynamically typed
JavaScript …
«Workarounds» On peut documenter
«Workarounds» On peut vérifier les types au runtime
«Workarounds» On peut «ignorer» les soucis ¯\_(ϑ)_/¯
None
None
Flow A static type checker for JavaScript
None
None
Flow Détecte les incompatibilités
Flow Détecte les incompatibilités
Flow Permet d'annoter son code
Flow
Flow Comprend les built-ins
Flow Aliases
Flow Aliases
Flow Generics
Flow Generics
Flow Interfaces
Flow + React
Transformer en JS valide
Flow Peut fonctionner sans transformation
Flow Code externe
TypeScript • Différences de syntaxe mineures • Flow commence à
fonctionner sans annotations et s'intègre mieux à un projet existant • TypeScript n'analyse pas les call-sites
Merci Questions ? Matthias Le Brun @bloodyowl