Do you have any good advice/links to a set of coding standards or best practices to follow?

前端 未结 20 2231
再見小時候
再見小時候 2021-02-01 10:40

For those of us that have programmed enough I’m sure we have come across many different flavours of coding standards that you can use when it comes to programming.

e.g.

20条回答
  •  有刺的猬
    2021-02-01 11:10

    My best advice regarding coding standards: don't let them get in the way when trying to get work done.

    A big bureaucracy might actually hinder progress in projects instead of helping to achieve better team work. When people complain about not following coding standards instead of the actual quality of the code, then it is too much regulation.

    Other than that, pick one from the many suggestions and try to stick with it for as long as possible to build a code base following a single standard that you are used to.

提交回复
热议问题