zoukankan      html  css  js  c++  java
  • 代码整洁之道——我们是作者

    《代码整洁之道》读书笔记系列前言:

    在购买了《代码整洁之道》这本书后,迫不及待地开始看、学习起来。本书作者马丁,主要讲述了代码质量与其整洁度成正比的道理,并由此揭示代码整洁之道。我将在学习过程中持续更新读书笔记。

    After purchasing this book, I can’t wait to start watching and learning. The author of this book is Martin, this book mainly tells the truth that the quality of the code is directly proportional to its cleanliness, and thus reveals the way the code is neat. I will continue to update my study notes during the learning process.

    写代码的时候记得自己是作者,要为评判你工作的读者写代码。

    在修改代码的过程中,读与写花费时间的比例大于10:1,在写新代码时,我们一直在读旧代码。

    要想干得快,要想轻松写代码,就得先让代码易读。

    When you write code, remember that you are the author, and write code for the readers who will judge your work.

    The ratio of read time to write time is greater than 10:1, during code modification, and we are always reading old code when writing new code.

    If you want to do it fast, if you want to write code easily, you have to make the code readable.

    【微信公众号:Stephen】一个毕业三年后自学 Java 入行的程序员。
  • 相关阅读:
    图论4-floyd
    。。。
    [LOJ10164]数字游戏
    KMP模板
    无向图割点模板
    tarjan有向图模板
    LCA倍增模板
    P2149 [SDOI2009]Elaxia的路线
    树的直径dp模板
    [暑假集训]Day4 T3 平板涂色
  • 原文地址:https://www.cnblogs.com/stephen-java/p/10533894.html
Copyright © 2011-2022 走看看