iT邦幫忙

Bater 的所有留言 65

Couplers > Inappropriate Intimacy 不當親密類別與如何重構

實際上,相同重構技巧再對應不同氣味時,範例與步驟也不相同。所以每一個氣味內的每一種重構技巧,都可以獨立為一篇完整個重構步驟文章。 但這樣會出現上百篇的額度,顯然...

2023-09-30 ‧ 由 Bater 留言

Code Smells to Refactorings

氣味的其他分類方式:相對的氣味::Large Class <-> Lazy Class針對類別或方法,或其他的氣味

2023-09-30 ‧ 由 Bater 留言

Code Smells to Refactorings

225種氣味https://dev.to/mcsee/series/9470

2023-09-30 ‧ 由 Bater 留言

Couplers > Feature Envy 依戀情節與重構

發完之後發現這篇不錯https://ithelp.ithome.com.tw/articles/10262774

2023-09-29 ‧ 由 Bater 留言

Dispensables > Comment 無謂的註解與重構

This smell also know as "deodorant".

2023-09-23 ‧ 由 Bater 留言

Dispensables > Comment 無謂的註解與重構

Extract Variable can also solve this smell.https://refactoring.guru/extract-vari...

2023-09-21 ‧ 由 Bater 留言

Long Method > Refactoring 如何重構Long Method

對照表上本來就有「Replace Conditional with Polymorphism」,所以「Replace Conditional Calculati...

2023-09-12 ‧ 由 Bater 留言

Code Smells to Refactorings

問題:這一套氣味與重構基本上幾乎限定於物件導向,不知道FP有沒有對應的知識框架。發現:討論氣味與重構時,幾乎避不掉設計方法(Design Patterns),之...

2023-09-10 ‧ 由 Bater 留言

Bloaters > Long Parameter List 過長參數列與如何重構

我認為Extract Class也可以對應。

2023-09-10 ‧ 由 Bater 留言

Code Smells to Refactorings

目標:修訂原本的對照表,新增刪除後產生自己的修訂版本。

2023-09-09 ‧ 由 Bater 留言