62

注释那些事儿 - 前端代码质量系列文章(一)

 6 years ago
source link: https://juejin.im/post/5ad9e73ef265da0b873a0ecc
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.
“Comment or not comment, that is the question”好的注释可以提高代码的可读性和可维护性,从而提高代码质量。那么什么是好的注释?如何写出好的注释?本文将从注释的目的和原则出发对 JS 注释进行探讨。01 注释

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK