zoukankan      html  css  js  c++  java
  • 代码整洁之道——童子军军规

    美国童子军一条简单的军规:让营地比你来时更干净。

    清理代码也许只是改好一个变量名,拆分一个有点过长的函数,消除一点点重复代码,清理一个嵌套if语句。

    这是让项目代码随着时间流逝而越变越好的最专业的做法。

    持续改进也是专业性的内在组成部分。

    The boy scouts of America has a simple rule: make the camp cleaner than when you arrived.

    Cleaning up the code might be as simple as changing a variable name, splitting a function that is a little too long, eliminating a little bit of duplicate code, and cleaning up a nested if statement.

    This is the most professional way to make your project code better over time.

    Continuous improvement is also an integral part of professionalism.

    【微信公众号:Stephen】一个毕业三年后自学 Java 入行的程序员。
  • 相关阅读:
    神经网络加速与模型压缩
    字符串分割函数
    物体检测整理
    deeplab算法解析
    kmeans算法
    封装caffe版的deeplab为库供第三方使用
    进程 守护
    socketserver tcp黏包
    计算机
    网络 协议 2
  • 原文地址:https://www.cnblogs.com/stephen-java/p/10533926.html
Copyright © 2011-2022 走看看