Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2016/04/10 偿还技术债:如何优雅重构项目老旧的问题代码 #15

Open
sivagao opened this issue Apr 3, 2016 · 0 comments

Comments

@sivagao
Copy link
Owner

sivagao commented Apr 3, 2016

如何重构有问题的老代码

你是如何把一个渐渐失控的遗留代码仓库转变为高可维护性的。下面的文章是我这几年在一个大型老项目中摸爬滚打学的教训和经验的总结。

老代码可以通过重构来解救

无所畏惧

技术债 - 是怎么一步步走到今天的

代码癌变

说服客户/老板

为你的自由而战

不要又搞出坑爹

让问题可见

代码主人公意识

构建图书馆

通过新工具重构

建立自信:测试

高层级的测试

底层级的测试

不需要测试所有东西

隔离和替换

说服你自己

通过一篇可观的长文来结束

后记

一些年后,当你沼泽湿地附近闲逛。在你视野所及内,你会发现公爵正在用啤酒的商业广告(庆祝!)替换之前的『危险,这里有恶龙』的标语。 他脸上洋溢着灿烂的笑容

http://marketing.intracto.com/paying-technical-debt-how-to-rescue-legacy-code-through-refactoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant