Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
寫個好懂的程式
Ching Yi Chan
March 17, 2020
Programming
1
390
寫個好懂的程式
Ching Yi Chan
March 17, 2020
Tweet
Share
More Decks by Ching Yi Chan
See All by Ching Yi Chan
twjug-lite-17 結束了幾個月的 Java Web 培訓 站在人蔘迷途的我
qrtt1
0
39
[twjug-lite] 迷你研發部 [1]
qrtt1
0
1k
OAuth 2.0 Authorization Code Flow
qrtt1
0
140
types of knowledge
qrtt1
1
940
twjug 小活動
qrtt1
0
220
TWJUG 2019
qrtt1
0
130
Learning Concepts
qrtt1
0
110
軟體工作日常:成為工具人吧!
qrtt1
1
110
Learning How To Learn Gradle
qrtt1
0
410
Other Decks in Programming
See All in Programming
OIDC仕様に準拠した Makuake ID連携基盤構築の裏側
ymtdzzz
0
130
Use KMM to call the API of the National Tax Agency
akkeylab
0
290
はてなリモートインターンシップ2022 インフラ 講義資料
hatena
4
2.1k
量子コンピュータ時代のプログラミングセミナー / 20221222_Amplify_seminar _route_optimization
fixstars
0
240
kakutanitalk2022_opening_act
shirotamaki
0
100
新卒でサービス立ち上げから Hasuraを使って3年経った振り返り
yutorin
0
200
Rによる大規模データの処理
s_uryu
2
620
%q is for Quine
koic
0
400
Workshop on Jetpack compose
aldefy
0
140
Amebaブログの会員画面システム刷新の道程
ryotasugawara
1
210
Spring BootとKubernetesで実現する今どきのDevOps入門
xblood
0
330
Git Rebase
bkuhlmann
10
1.2k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
2
390
Clear Off the Table
cherdarchuk
79
290k
Why You Should Never Use an ORM
jnunemaker
PRO
49
7.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
500
130k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
120
29k
Faster Mobile Websites
deanohume
295
29k
Adopting Sorbet at Scale
ufuk
65
7.8k
How GitHub Uses GitHub to Build GitHub
holman
465
280k
From Idea to $5000 a Month in 5 Months
shpigford
374
44k
Building Your Own Lightsaber
phodgson
96
4.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
338
18k
Keith and Marios Guide to Fast Websites
keithpitt
407
21k
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