编码惯例和实践 [英] Coding conventions and practices

查看:98
本文介绍了编码惯例和实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,有任何人可以帮助在声明中使用_,请告诉我一个链接,以获得VB.Net和C#.Net的最佳编码约定和做法。请帮助我如何获得它。

谢谢,
Aleem Mohammad。

Hi All,
Can anybody please help where "_" should be used in declarations and please tell me give me a link to get the best coding conventions and practices for VB.Net and C#.Net too. Please help me how to get it.

Thanks,
Aleem Mohammad.

推荐答案

indian143写道:
indian143 wrote:

任何人都可以帮忙其中_应该在声明中使用,请告诉我给我一个链接,以获得VB.Net和C#.Net的最佳编码约定和实践

Can anybody please help where "_" should be used in declarations and please tell me give me a link to get the best coding conventions and practices for VB.Net and C#.Net too



具有约定的基本思想是在团队中不同开发人员编写的代码之间保持一致。最终目标是使代码 可读

如果你想寻找约定...... 谷歌它。



The basic idea of having conventions is to have uniformity among the code written by different developers in a Team. The ulitimate goal is to make code Readable.

Still, if you want to look for conventions...Google it.


看一下框架设计指南 [ ^ ]。

话虽如此,编码风格的目标是创建代码通过创建一致的外观和感觉和结构,任何开发人员都可以轻松读取和维护。

Take a look at the Framework Design Guidelines[^].

That being said, the goal of a coding style is to create code that is easily readable and maintainable by any developer by creating a consistent "look and feel" and structure.


这些人 [ ^ ]对C#有一个不错的编码标准。
These guys[^] have a decent coding standard for C#.






这篇关于编码惯例和实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆