Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Typescriptドメインモデリング
Search
nikawa2161
October 24, 2024
4.6k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Typescriptドメインモデリング
nikawa2161
October 24, 2024
More Decks by nikawa2161
See All by nikawa2161
Node.js Subpath imports
nikawa2161
0
44
Sagaパターン入門(続編)
nikawa2161
0
52
Sagaパターン入門
nikawa2161
0
65
沖縄観光とPostgreSQL排他制約の話
nikawa2161
0
41
20251209_プログラミング原則の学び
nikawa2161
0
41
自分のコードを数年ぶりに読んだら
nikawa2161
0
26
ユーザーインタビュー分析に参加して得られたことと気づき
nikawa2161
0
44
oEmbedとは?
nikawa2161
0
250
はじめまして、にかわです
nikawa2161
0
29
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Chasing Engaging Ingredients in Design
codingconduct
0
360
What's in a price? How to price your products and services
michaelherold
247
13k
KATA
mclloyd
PRO
35
16k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
First, design no harm
axbom
PRO
2
1.3k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
360
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Producing Creativity
orderedlist
PRO
348
41k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Transcript
TSドメインモデリング create by: Ô @nikawa2161 | @nikawa2161 | ✉
[email protected]
Ŝ What we do 1 柔軟性 vs 厳密性 2 柔軟性
vs 厳密性 3 型を区別して定義する
よろしくお願いします
Ŝ 型を厳密に定義 ドメインモデリングをどう⾏うか
Ŝ 紹介しないこと ドメイン駆動開発
Ŝ 柔軟性 vs 厳密性 ドメイン駆動開発
柔軟性のある型
何でも⼊れることができる
Ŝ ありえる型にしろ
それぞれありえるパターンを定義(ドメインモデリング)
怒られる
Ŝ ミスを未然に防げる ドメインモデリング素晴らしい
柔軟性のある型
ドメインモデリング
Ŝ 型を区別して定義する
区別していない
None
Ŝ Nominal Typing Like 構造的部分型
Ŝ Branded Type Michal Zalecki⽒
Brandを定義
怒られる
Ŝ まとめ 1 ユニオン 2 Branded Type
型は厳密に