What are your “hard rules” about commenting your code?

前端 未结 21 1834
野性不改
野性不改 2020-12-31 16:09

I have seen the other questions but I am still not satisfied with the way this subject is covered.

I would like to extract a distiled list of things

21条回答
  •  时光说笑
    2020-12-31 16:37

    I focus on the why. Because the what is often easy readable. TODO's are also great, they save a lot of time.

    And i document interfaces (for example file formats).

提交回复
热议问题