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
650
Result型の次のエラーハンドリング
参考資料
https://buildersbox.corp-sansan.com/entry/2024/03/26/110000
sousan
April 25, 2024
Tweet
Share
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Unsuck your backbone
ammeep
671
58k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Balancing Empowerment & Direction
lara
1
430
Done Done
chrislema
184
16k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Designing Experiences People Love
moore
142
24k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
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