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
550
寫個好懂的程式
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
89
twjug-lite-17 結束了幾個月的 Java Web 培訓 站在人蔘迷途的我
qrtt1
0
64
[twjug-lite] 迷你研發部 [1]
qrtt1
0
1.1k
OAuth 2.0 Authorization Code Flow
qrtt1
0
220
types of knowledge
qrtt1
1
1.2k
twjug 小活動
qrtt1
0
390
TWJUG 2019
qrtt1
0
170
Learning Concepts
qrtt1
0
170
軟體工作日常:成為工具人吧!
qrtt1
1
200
Other Decks in Programming
See All in Programming
tsconfig.jsonの最近の新機能 ファイルパス編
uhyo
6
1.3k
Iteratorでページネーションを実現する
sonatard
3
700
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
1.1k
Modern Functional Fluent CFML REST by Luis Majano
ortus24
0
110
Micro Frontends Unmasked: Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
250
Beyond the RuboCop Defaults
koic
2
480
色んなオートローダーを覗き見る #phpcon_okinawa
o0h
PRO
5
360
モジュラモノリス、その前に / Modular monolith, before that
euglena1215
3
390
App Router 悲喜交々
quramy
7
370
Vue :: Better Testing 2024
up1
1
350
個人開発のおいしさと続け方
3l4l5
1
260
API Platform for Laravel
dunglas
1
1.2k
Featured
See All Featured
Building Your Own Lightsaber
phodgson
102
6k
Atom: Resistance is Futile
akmur
261
25k
We Have a Design System, Now What?
morganepeng
49
7.1k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
4 Signs Your Business is Dying
shpigford
180
21k
What's new in Ruby 2.0
geeforr
341
31k
Large-scale JavaScript Application Architecture
addyosmani
509
110k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
It's Worth the Effort
3n
183
27k
No one is an island. Learnings from fostering a developers community.
thoeni
19
2.9k
Git: the NoSQL Database
bkeepers
PRO
425
64k
KATA
mclloyd
27
13k
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