BookNote: Refactoring - Improving the Design of Existing Code From "Refactoring - Improving the Design of Existing Code" by Martin Flower. BookNote: Refactoring - Improving the Design of Existing Code Duplicated Code Long Method Large Class Long…
Android Project from Existing Code 生成 R 文件错误.失败等问题解决办法 - 持续更新 git  上的项目,pull下来之后用Android Project from Existing Code 导入项目后,生成 R 文件错误.失败 说明:git上的项目是用老版本的Eclipse和Android2.1,现在个人开发环境换成了最新版本的Eclipse Build: v22.0.5-757759,android版本换成2.2 解决办法: 用Android Proj…
最近在做android项目的过程中遇到这样一个问题,新增一个activity的时候添加不成,eclipse提示The refactoring does not change any source code.百度了很久终于在Stack Overflow找到问题的解决方法. 言归正传,先把问题解决了. 原帖的内容就不粘贴在这里了.原帖是的回复是: Check if you have older version of ADT plug-in. You need to update ADT plug-i…
[Java] Design Pattern:Code Shape - manage your code shape Code Shape Design Pattern Here I will introduce a design pattern: Code Shape. It's fine that you never heard that, I just created it. Usage In the enterprise application development, in most c…
Overview Design patterns are ways to reuse design solutions that other software developers have created for common and recurring problems. The design patterns on this page are from the book Design Patterns, Elements of Reusable Object-Oriented Softwa…
一.Design Review 详解 翻译为设计评审,也就是对需求设计进行审核,防止出现异常问题,例如下面的这些 可用性 外部依赖有哪些?如果这些外部依赖崩溃了我们有什么处理措施? 我们SLA是什么?主要是指可用性目标几个9? 50/90/99分位数的响应时间是多少? QPS是多少? 我们的超时.重试.过载保护.服务降级机制是什么?如何避免雪崩 我们的调用方有哪些?分别有什么服务配额?是否需要对关键的服务调用方单独部署? 运维 我们都有配置了哪些监控?如果出现问题,我们需要查看哪些信息?这些信息…
C#(.NET)中有关编码的一些建议,原文地址:http://www.codeproject.com/Articles/539179/Some-practices-to-write-better-Csharp-NET-code 目录 介绍 试一试 什么是更好的代码? 怎样提高代码的可读性? 什么是编码规范? 开发者应该遵守的一些重要规范 总结 介绍 开发者之间经常喜欢争论“编码规范”,在整个项目周期中严格遵守编码规范是非常重要的.每个人都应该认识到这种约定是非常有用的,接下来我给大家分享一下这些…
Introduction To Database Refactoring 原文链接:by Scott W. Ambler:http://www.tdan.com/view-articles/5010/ Published: July 1, 2006 Published in TDAN.com July 2006 Material for this article was modified from Refactoring Databases: Evolutionary Database Desi…
Some practices to write better C#/.NET code(译) C#(.NET)中有关编码的一些建议,原文地址:http://www.codeproject.com/Articles/539179/Some-practices-to-write-better-Csharp-NET-code 目录 介绍 试一试 什么是更好的代码? 怎样提高代码的可读性? 什么是编码规范? 开发者应该遵守的一些重要规范 总结 介绍 开发者之间经常喜欢争论“编码规范”,在整个项目周期中严…
原文作者:anytao—王涛 他的著作:<你必须知道的.Net> 关于这个问题,也有不少刚刚入行的朋友向我问起.我想可能一千个人就有一千个答案,我不能保证自己的想法适合于所有的人,但是这确实是我自己的体会和经历,希望能给你一些参考的价值.同时,我也严正的声明,我也是个学习者,也在不断的追求,所以这里的体会只是交流,并非说教. 作为同行,首先恭喜你进入了一个艰难困苦和其乐无穷并存的行业,这是软件的现状,也是软件的未来.如果你想迅速成功,或者发家致富,显然是个难以实现的梦想.老Bill和李彦宏在这…