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
sousan
April 25, 2024
1
690
Result型の次のエラーハンドリング
参考資料
https://buildersbox.corp-sansan.com/entry/2024/03/26/110000
sousan
April 25, 2024
Tweet
Share
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Fireside Chat
paigeccino
39
3.6k
Agile that works and the tools we love
rasmusluckow
330
21k
Into the Great Unknown - MozCon
thekraken
40
2k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
A better future with KSS
kneath
239
17k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The World Runs on Bad Software
bkeepers
PRO
70
11k
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