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
750
Result型の次のエラーハンドリング
参考資料
https://buildersbox.corp-sansan.com/entry/2024/03/26/110000
sousan
April 25, 2024
Tweet
Share
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2.3k
Chasing Engaging Ingredients in Design
codingconduct
0
110
Docker and Python
trallard
47
3.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
57
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
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