search

Home  >  Q&A  >  body text

前端 - 如何看待编码规范?

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

ringa_leeringa_lee2767 days ago552

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 13:07:54

    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

    reply
    0
  • Cancelreply