链接到一组编码标准或最佳做法遵循

链接到一组编码标准或最佳做法遵循

本文介绍了你有什么好的建议/链接到一组编码标准或最佳做法遵循?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我们这些已经足够编程我敢肯定,我们所遇到的编码标准的许多不同的口味,你可以用,当涉及到编程。

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.

例如。 http://msdn.microsoft.com/en-us/library/ms229042.aspx

您可能会得到你的编码标准,为你工作或的code你工作原作者当前公司。编码样式经常用于特定程序语言和在一个编码语言一些样式可能不被认为是适当的其他人。当然,一些编码标准,可以在许多不同的编程语言被应用。

You might derive your coding standards for the current company you work for or from the original author of the code you’re working on. Coding styles are often used for specific program languages and some styles in one coding language might not be considered appropriate for others. Of course some coding standards can be applied across many different program languages.

感谢您的时间。

编辑:我们知道有关于这个问题的许多相关的文章,但 C#编码标准/最佳实践的在所以一直在那里,这是值得一去一些非常有用的链接。 (查看关于.NET / C#准则2链接通过ESV - 接受的答案)

As we know there are many related articles on this subject, but C# Coding standard / Best practices in SO has some very useful links in there which is worth a visit. (Check out the 2 links on .NET/C# guidelines by ESV - Accepted Answer)

推荐答案

谷歌有一个发布的风格指南C ++的我咨询的时候。只是读通过的解释和推理,尽管无论你最终与一些样式或不同意,可以教你一些东西,你可能没有想过。

Google has a posted style guide for C++ here which I consult sometimes. Just reading through the explanations and reasoning, despite whether you end up agreeing with some of the styles or not, may teach you some things you might not have thought about.

这篇关于你有什么好的建议/链接到一组编码标准或最佳做法遵循?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 01:42