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
寫個好懂的程式
Search
Ching Yi Chan
March 17, 2020
Programming
1
560
寫個好懂的程式
Ching Yi Chan
March 17, 2020
Tweet
Share
More Decks by Ching Yi Chan
See All by Ching Yi Chan
[coscup] Reading and modifying the source code of the dbt adapter
qrtt1
0
93
twjug-lite-17 結束了幾個月的 Java Web 培訓 站在人蔘迷途的我
qrtt1
0
66
[twjug-lite] 迷你研發部 [1]
qrtt1
0
1.1k
OAuth 2.0 Authorization Code Flow
qrtt1
0
240
types of knowledge
qrtt1
1
1.2k
twjug 小活動
qrtt1
0
400
TWJUG 2019
qrtt1
0
180
Learning Concepts
qrtt1
0
170
軟體工作日常:成為工具人吧!
qrtt1
1
210
Other Decks in Programming
See All in Programming
subpath importsで始めるモック生活
10tera
0
310
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
Quine, Polyglot, 良いコード
qnighy
4
650
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
Jakarta EE meets AI
ivargrimstad
0
120
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
The Art of Programming - Codeland 2020
erikaheidi
52
13k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
420
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Designing Experiences People Love
moore
138
23k
Building Your Own Lightsaber
phodgson
103
6.1k
Transcript
寫個好懂的程式 某天,我在網路上撿到⼀個ᄳ˚া的桌應⽤程式
ɽɓৎԸCode Reviewഗഗܔᙄ
ಀԒމڋኪ٫ٙҢࡁd νОᜫІʉɝѢྤٙ
https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html
None
Entities Use Cases 內部業務核⼼ 外部資料的介接與回饋 UI Devices DB Web Adapters
Entities Use Cases 內部業務核⼼ • 獨立於應⽤程式框架 • 可以單元測試 • 獨立於
UI • 獨立於 Database • 獨立於世 (不受外界⼲擾)
Entities Use Cases 內部業務核⼼ • 獨立於應⽤程式框架 ̥͜ᅺՌόࢫၾІࠈᗳй • 可以單元測試 ༊ઋྤ̥ცࠅ&OUJUJFTၾ6TF$BTFT
• 獨立於 UI ఊॱٙՌόխ̣ • 獨立於 Database ၇ٙ*0ცӋפʷஈଣ • 獨立於世 (不受外界⼲擾) ̮Աޫפʷஈଣ 伂䡆⨑嶋苌㖞羖甙♔KPVGTHCEG
外部資料的介接與回饋 UI Devices DB Web Adapters 外部相依,要透過 end-to-end 測試保證品質
Entities 試著⽤個簡單的模型來描述你的問題 (demo time)
Q & A