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

前端 未结 20 2235
再見小時候
再見小時候 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:22

    Adam Cogan has a great set of rules on his web site. There are coding guidelines, but there is much more there also.

    Adam Cogan's Rules to Better...

    0 讨论(0)
  • 2021-02-01 11:22

    The answers here a pretty complete, thus I am not pointing to another coding standard document. However, once you decided to stick to one style you should use an automated coding style enforcer throughout your team.

    For Java there is checkstyle and for .NET Microsoft Style Cop.

    Here is a similar discussion on Stackoverflow: C# Coding standard / Best practices

    0 讨论(0)
提交回复
热议问题