前端 - 如何看待编码规范?
ringa_lee
ringa_lee 2017-04-17 13:05:54
0
1
544

最近有个交流会,关于前端开发的规范,有没有什么好的文章可以参考的,不是编码规范的具体例子,而是讲解规范的意义作用之类的。

ringa_lee
ringa_lee

ringa_lee

reply all(1)
Peter_Zhu

Code standards have several benefits

  1. If it is a personal project, then when you iterate and update in the future, you will not be confused when you look back at your code, reducing maintenance costs

  2. If team collaboration is required, reduce unnecessary burden when reviewing and learning from each other's codes

  3. If the project is open source and your code is forked, it will be relatively easy to understand your code and increase the possibility of contributing code to you

The two translations are for reference only:
How Google does code review
Why Google implements strict code writing standards

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!