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

前端 未结 21 1845
野性不改
野性不改 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:33

    If a comment is out of date (does not match the code), delete it or update it. Never leave an inaccurate comment in place.

提交回复
热议问题