From bd3f5ca2437cc75f6dc1634255e72fd7a1e55091 Mon Sep 17 00:00:00 2001 From: aikin <1@aikin.me> Date: Sun, 5 Aug 2018 17:36:53 +0800 Subject: [PATCH] =?UTF-8?q?add=20refactoring=20kata=20into=20=E9=87=8D?= =?UTF-8?q?=E6=9E=84.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/重构.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/notes/重构.md b/notes/重构.md index 9a3242ba..72021355 100644 --- a/notes/重构.md +++ b/notes/重构.md @@ -107,6 +107,7 @@ * [10. 塑造模板函数](#10-塑造模板函数) * [11. 以委托取代继承](#11-以委托取代继承) * [12. 以继承取代委托](#12-以继承取代委托) +* [练习重构的栗子](#练习重构的栗子) * [参考资料](#参考资料) @@ -1415,6 +1416,10 @@ public Manager(String name, String id, int grade) { 让委托类继承受托类。 + +# 练习重构的栗子 +* [Refactoring Kata](https://github.com/aikin/refactoring-kata) + # 参考资料 - MartinFowler, 福勒, 贝克, 等. 重构: 改善既有代码的设计 [M]. 电子工业出版社, 2011.