Home
Posts
About Me
What you think is what you get
Home
Posts
About Me
Menu
Posts filed under: Refactoring
Refactoring
Refactoring
簡化巢狀條件式的技巧(How to fix nested condition)
by
zgh149
15 4 月, 2016
0
巢狀條件式通常為為複雜度高的區域。 以下紀錄簡化巢狀條件式的技巧 1.巢狀 if 轉換成 if then el......
Refactoring
重構專案紀錄(ConfigClient)
by
zgh149
22 2 月, 2016
0
ConfigClient 為 Alljoyn 的一個小專案,由於規模不大適合拿來作重構介紹。 重構過程會放到 ......
Refactoring
Null Object Pattern
by
zgh149
19 11 月, 2015
0
當代碼中過度出現需要檢查 null (空值) 的情況,可以考慮使用 Null Object Pattern 取......
Refactoring
重構專案紀錄(TwoFlashLight)(part4) : Refactor class(MainActivity.java)
by
zgh149
26 10 月, 2015
0
(Source Code: https://github.com/testfoxx/TwoFlashLight......
Refactoring
重構專案紀錄(TwoFlashLight)(part3) : Refactor class(FP.java)
by
zgh149
19 10 月, 2015
0
(Source Code: https://github.com/testfoxx/TwoFlashLight......
Refactoring
重構專案紀錄(TwoFlashLight)(part2) : Remove unuse class
by
zgh149
18 10 月, 2015
0
(Source Code: https://github.com/testfoxx/TwoFlashLight......
Refactoring
重構專案紀錄(TwoFlashLight)(part1) : Rename Package
by
zgh149
16 10 月, 2015
0
(Source Code: https://github.com/testfoxx/TwoFlashLight......
Refactoring
重構專案紀錄(TwoFlashLight)
by
zgh149
15 10 月, 2015
0
Two Flash Light 是我在多年前寫的小型Android project,當初寫的時間很趕加上也沒什......
Refactoring
Example: Replace Parameter with explicit methods(使用明確的方法取代參數)
by
zgh149
11 6 月, 2015
0
當長if-else或是switch出現在方法內時通常代表該方法做了一件以上的事。 為了保持方法簡......
Refactoring
Refactoring example : GameMap
by
zgh149
14 5 月, 2015
0
在上篇介紹如何建立 android test project 並成功運行 test case 之後,本篇開始介......
1
2