易读代码的艺术之Code Should Be Easy to Understand

1、Code should be easy to understand. ---- 代码应该易读。
2、Code should be written to minimize the time it would take for someone else to understand it.
    ---- 代码应该被写得使其他人用最少的时间理解它。
3、We've found that these other goals don't interfere much at all. Even in the realm of highly optimized code, there are still ways to make it highly readable as well. And making your code easy to understand often leads to code that is well architected and easy to test.
---- 我们发现使代码易读与其他目标不会相互干扰,即使在需要高度优化代码的领域,也还是有方法使代码有高可读性,而且使代码易于理解也会使代码有良好的架构和易于测试。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值