怎样重构代码

1.尽量继承

2.多用协议

3.多用泛型

转载本文 请注明出处 谢谢!
原文地址:https://www.cnblogs.com/hautezwei/p/7116020.html