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
Result型の次のエラーハンドリング
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
sousan
April 25, 2024
1
760
Result型の次のエラーハンドリング
参考資料
https://buildersbox.corp-sansan.com/entry/2024/03/26/110000
sousan
April 25, 2024
Tweet
Share
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
130
Building the Perfect Custom Keyboard
takai
2
710
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Ruling the World: When Life Gets Gamed
codingconduct
0
160
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Faster Mobile Websites
deanohume
310
31k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
WCS-LA-2024
lcolladotor
0
470
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
250
Transcript
Result型の次のエラーハンドリング 蔵元吏矩 aka sousan 2024/04/25 © 2024 eX Co., Ltd,
All Rights Reserved.
© 2024 eX Co., Ltd, All Rights Reserved. 自己紹介 所属:
株式会社エクス エンジニア歴: 1.5年 ちょっとできる: React, TS 完全に理解した: Azure 推し: ずっと真夜中でいいのに。 Twitter(X): moso_midnight
© 2024 eX Co., Ltd, All Rights Reserved. Content G8
話すこY 98 こんな人向@ E8 話さないこY 68 背D 48 実際にやってみP V8 意見感想
© 2024 eX Co., Ltd, All Rights Reserved. (' 話すこと
Railway Oriented Programming試してみたメリデメリと個人的意見
© 2024 eX Co., Ltd, All Rights Reserved. 2 こんな人向け
・try-catchのエラーにうんざりしている人 ・Result型のエラーハンドリングに物足りなさを感じる人
© 2024 eX Co., Ltd, All Rights Reserved. 0& 話さないこと
・Railway Oriented Programmingの詳細思想 ・Result型のメリデメリ ・関数型プログラミングの良さ
© 2024 eX Co., Ltd, All Rights Reserved. &% 背景
try-catch -> ResultTypeを使用したエラーハンドリング
© 2024 eX Co., Ltd, All Rights Reserved. &% 背景
© 2024 eX Co., Ltd, All Rights Reserved. &% 背景
f% 処理が増えたらif-elseがどんどん増えA @% エラーの網羅、抜け漏れチェックがしんどくなりそう
© 2024 eX Co., Ltd, All Rights Reserved. &% 背景
TypeScript開発にRailway Orientedを持ち込み、 より型安全なエラーハンドリングへ
© 2024 eX Co., Ltd, All Rights Reserved. &% 背景
© 2024 eX Co., Ltd, All Rights Reserved. 20 実際にやってみた
© 2024 eX Co., Ltd, All Rights Reserved. fe GooR
Ue エラーの網羅◦、保守性C Be エラー整理の際にエラーや関数設計の見直し の機I He バックエンドに特に効果を発揮しそう ve 意見感想
© 2024 eX Co., Ltd, All Rights Reserved. (' 意見感想
(' 意見感想 j' Bal ' 導入にカロリーがかなり必x r' 全体設計の見直Q rr' bypass関数, pipe関数の導e rrr' ライブラリの使用(ts-patternF rw' チーム周知、浸9 c' エラーハンドリングの要件が甘い、小規模 サービスにはtoo much