When to do refactor?


The Wrong Way:

refactor_wrongActually, if the refactor is doing too late, it will become “rewrite”.


The Right Way:

refactor_right

If the code quality is dropped a little bit, you should seize the opportunity to do the modification and make it better. Constantly do a little bit of improvement. The “refactor” task should be think as breaking down to small pieces and be doing day by day.

This is the right way to think about refactor.

Leave a comment

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步瞭解 Akismet 如何處理網站訪客的留言資料