`
xiaoshenge
  • 浏览: 167275 次
  • 性别: Icon_minigender_1
  • 来自: 十堰
社区版块
存档分类
最新评论

对二次开发的感受

阅读更多

前一段时间做ecshop的二次开发,也谈不上二次开发,就是按老板要求该页面显示,按运营要求改title,偶尔添加一些新功能(这可以算二次开发)。最后运维,开发,美工,什么都要搞在加上工资老低了,就换了一份主攻搞PHP一份工作。感受很多主要就是:

1.时间分配:老板一会让搞这一会让搞那,工作顺序混乱,就没什么效率了。

2.代码规范:由于是用的免费的ecshop,代码木有注视,完整的手册也木有,所以加上自己的代码,整个程序更混乱,这样就对辞职交接工作造成了麻烦(接替工作的也不知道你改了什么)。

今天闲的X疼,翻了一本遗留在办公桌角落的《JAVA编码规范》,看到一段刚好符合这段时间工作的感受,所以就摘录下来了记录一下。

adhere to the style of the original

where modifying existing software,you changes should follow the style of the original code.Don't introduce a new coding style in a modification, and don not attempt to rewrite the old software just to make it match the new style.The use of different styles within a single source file produces code that is more difficult to read and comprehend. Rewriting old code simply to change its style may result in the introduction of costly yet avoidable defects.

 

1
1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics