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
520
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by Matthias Le Brun
See All by Matthias Le Brun
GraphQL, Pothos & SQLite: a perfect match
bloodyowl
0
110
(why the hell did I) build a GraphQL client for the browser
bloodyowl
0
150
Boxed: bringing algebraic types to TypeScript
bloodyowl
0
190
leveraging (algebraic data) types to make your UI rock @ jsheroes
bloodyowl
0
330
Leveraging (algebraic data) types to make your UI rock solid
bloodyowl
0
500
La drôle d'histoire de JavaScript
bloodyowl
0
400
Healthy Code Collaboration
bloodyowl
0
370
Simplify your UI management with (algebraic data) types
bloodyowl
0
850
Simplify your UI management with (algebraic data) types
bloodyowl
1
580
Other Decks in Programming
See All in Programming
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
14
6.4k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
970
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
120
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
110
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
220
Vite+ Unified Toolchain for the Web
naokihaba
0
360
Datadog LLM Observabilityで実現する 安全なLLM Usage 管理
3150
0
120
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.5k
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
170
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.6k
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
210
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
790
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
330
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
My Coaching Mixtape
mlcsv
0
160
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Exploring anti-patterns in Rails
aemeredith
3
430
Deep Space Network (abreviated)
tonyrice
0
210
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.6k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
210
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
Statistics for Hackers
jakevdp
799
230k
Into the Great Unknown - MozCon
thekraken
41
2.6k
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