40个改变编程技能的小技巧

  1. 将大块代码分解成小函数
  2. 今日事今日毕,如果没毕,就留到明天
  3. YAGNI原则
  4. 不必全知全能,但基础一定要扎实
  5. KISS原则
  6. 别想太多
  7. 被问题/Bug卡住时,walk away!
  8. 学会写测试代码TDD
  9. 先分解问题再开始写代码
  10. 代码不要死记硬背
  11. 学好用好Stack Overflow
  12. 不要「光学不练」
  13. 与小伙伴互相审查代码
  14. Don’t Reinvent The Wheel
  15. 你的代码是最好的文档
  16. 懂得如何搜索
  17. 写代码时要之后维护考虑
  18. 复制粘贴
  19. 不要放弃
  20. 休息、休息再休息
  21. 学习软件设计模式
  22. 使用集成工具
  23. Do code katas
  24. 依赖注入是一个要求
  25. 重构-测试-重构
  26. 及时寻求帮助
  27. Practice makes perfect.
  28. 不必太在意评论
  29. 了解你的开发环境
  30. 复用组件
  31. 考虑相关限制
  32. 不要过早优化或重构
  33. 不要投机取巧
  34. 遵循规定的标准
  35. 用户不是技术人员
  36. 坚持使用Github或bitbucket
  37. 记录所有关键部分
  38. 风格保持一致
  39. Don’t stop learning
  40. patience and love

相关资料
15年程序员经验分享:40个改变你编程技能的小技巧!

40个改变编程技能的小技巧

http://example.com/2020/03/21/Blog-about-industry-8/

作者

Fallen-down

发布于

2020-03-21

更新于

2020-08-08

许可协议

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.
You need to set client_id and slot_id to show this AD unit. Please set it in _config.yml.