sansanboy / sansanboy.github.io

jim.yan blog
https://blog.dajun.info
1 stars 0 forks source link

代码注释 #346

Closed sansanboy closed 1 year ago

sansanboy commented 1 year ago

代码里需不需要注释?需要. 代码里的注释应该是注释这个代码为什么这么写?背景是什么.而不是注释代码是做什么. 代码是做什么的直接读代码即可.