对二次开发的感受

前一段时间做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.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值