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
77
(why the hell did I) build a GraphQL client for the browser
bloodyowl
0
130
Boxed: bringing algebraic types to TypeScript
bloodyowl
0
150
leveraging (algebraic data) types to make your UI rock @ jsheroes
bloodyowl
0
310
Leveraging (algebraic data) types to make your UI rock solid
bloodyowl
0
460
La drôle d'histoire de JavaScript
bloodyowl
0
380
Healthy Code Collaboration
bloodyowl
0
340
Simplify your UI management with (algebraic data) types
bloodyowl
0
830
Simplify your UI management with (algebraic data) types
bloodyowl
1
550
Other Decks in Programming
See All in Programming
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
180
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
950
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
140
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
420
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
380
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
110
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
モダンOBSプラグイン開発
umireon
0
120
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
580
Docコメントで始める簡単ガードレール
keisukeikeda
1
120
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
250
OTP を自動で入力する裏技
megabitsenmzq
0
100
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
3k
Six Lessons from altMBA
skipperchong
29
4.2k
30 Presentation Tips
portentint
PRO
1
250
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
180
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
How to train your dragon (web standard)
notwaldorf
97
6.6k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
290
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
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