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
790
1
Share
Result型の次のエラーハンドリング
参考資料
https://buildersbox.corp-sansan.com/entry/2024/03/26/110000
sousan
April 25, 2024
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
220
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
420
Writing Fast Ruby
sferik
630
63k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
770
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Chasing Engaging Ingredients in Design
codingconduct
0
170
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The agentic SEO stack - context over prompts
schlessera
0
750
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