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
630
寫個好懂的程式
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
150
twjug-lite-17 結束了幾個月的 Java Web 培訓 站在人蔘迷途的我
qrtt1
0
96
[twjug-lite] 迷你研發部 [1]
qrtt1
0
1.2k
OAuth 2.0 Authorization Code Flow
qrtt1
0
290
types of knowledge
qrtt1
1
1.3k
twjug 小活動
qrtt1
0
470
TWJUG 2019
qrtt1
0
210
Learning Concepts
qrtt1
0
230
軟體工作日常:成為工具人吧!
qrtt1
1
270
Other Decks in Programming
See All in Programming
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
980
開発生産性を上げるための生成AI活用術
starfish719
3
420
Six and a half ridiculous things to do with Quarkus
hollycummins
0
140
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
550
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.2k
Devvox Belgium - Agentic AI Patterns
kdubois
1
110
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
1
120
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
230
株式会社 Sun terras カンパニーデック
sunterras
0
270
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
140
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
2
800
チームの境界をブチ抜いていけ
tokai235
0
160
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Documentation Writing (for coders)
carmenintech
75
5k
Building Adaptive Systems
keathley
43
2.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Done Done
chrislema
185
16k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Scaling GitHub
holman
463
140k
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