2016年/08月/01日
这里有11个规则
老外写的11个规则
1: Technology is how you get to the solution, it is not THE solution
技术是你获取解决方案的方法,而不是解决方案本身
2: Clever is the enemy of clear
对代码而言,“聪明”是“清晰”的敌人
3: Only write code if you absolutely have to
只在逼不得已的情况下才写代码
4: Comments are mostly evil 注释是魔鬼
5: Always know what your code is supposed to do before you start writing it 永远要在你开始写代码前考虑好它是做什么的
6: Test your sh—code before you ship it 在交付之前,测试你的代码
7: Learn something new every day 每天学点新东西
8: Writing code is fun 写代码是件快乐的事
9: You can’t know it all 你无法完全了解它
10: Best practices are context dependent 最佳实践要因地制宜
11: Always strive to simplify 力求精简