16

如何真正写好代码注释 — 现代 JavaScript 教程

 4 years ago
source link: https://juejin.im/post/5def9623f265da33c90b3b0e
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
注释 正如我们在 代码结构 一文所了解到的那样,注释可以是以 // 开始的单行注释,也可以是 /* ... */ 结构的多行注释。 我们通常通过注释来描述代码怎样工作和为什么这样工作。 乍一看,写注释可能很简单,但初学者在编程的时候,经常错误地使用注释。 糟糕

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK