专栏名称: 软科学
进化,发展,站在心灵科技的巅峰,创造未来!
目录
相关文章推荐
哈尔滨日报  ·  四川宜宾发生4.8级地震 ·  12 小时前  
龙江市场监管  ·  市场监管总局2025年二季度例行新闻发布会实录 ·  昨天  
哈尔滨日报  ·  关于“罗某宇坠楼事件”的情况通报 ·  2 天前  
龙江市场监管  ·  哈尔滨市AI“惠企名”上线!企业名称登记进入 ... ·  2 天前  
黑龙江省应急管理厅  ·  一图读懂丨中华人民共和国森林法 ·  2 天前  
51好读  ›  专栏  ›  软科学

[软科学.程序篇]40条程序员编程箴言|40 programmers programming pro...

软科学  · 公众号  ·  · 2018-02-23 09:35

正文

请到「今天看啥」查看全文


  • 9、好的项目作风硬派,一键测试,一键发布,一键部署;烂的项目生性猥琐,口口相传,不立文字,神神秘秘。

    • 9. Good project style hardcore, one key test, one key release, one key deployment; The bad project is obscene, word of mouth, not written, mysterious.

  • 10、编码不要畏惧变化,要拥抱变化。

    • 10.Don't be afraid to change. Embrace change.

  • 11、常充电。程序员只有一种死法:土死的。

    • 11. Often charge. There is only one way for programmers to die: earth to death.

  • 12、编程之事,隔离是方向,起名是关键,测试是主角,调试是补充,版本控制是后悔药。

    • 12. Programming, isolation is the direction, naming is the key, testing is the leading role, debugging is supplementary, version control is the repenting medicine.

  • 13、一行代码一个兵。形成建制才能有战斗力。单位规模不宜过大,千人班,万人排易成万人坑。

    • 13.One line of code a soldier. The formation of a system can be effective. The unit size should not be too large, thousands of classes, 10,000 people easy to become a mass grave.

  • 14、重构/优化/修复Bug,同时只能做一件。

    • 14. Refactoring/optimizing/fixing bugs and doing only one thing at a time.

  • 15、简单模块注意封装,复杂模块注意分层。

    • 15. Simple modules pay attention to encapsulation, and complex modules pay attention to layering.

  • 16、人脑性能有限,整洁胜于杂乱。读不懂的代码,尝试整理下格式;不好用的接口,尝试重新封装下。

    • 16.The human brain is limited in performance and neatness is better than clutter. If you can't read the code, try to arrange the format; Bad interface, try to re-encapsulate.

  • 17、迭代速度决定工作强度。想多快好省,就从简化开发流程,加快迭代速度开始。

    • 17. The iteration speed determines the work intensity. To save more quickly, start by simplifying the development process and speeding up the iteration.







    请到「今天看啥」查看全文