代码结构标准? [英] Standard of Code Structure?

查看:56
本文介绍了代码结构标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有关于如何构造代码的标准?



谢谢!

Is there a standard about how to structure the code?

Thanks!

推荐答案

否。

有很多标准。可能几乎和人们编写代码一样多! :笑:



这里有太多的变量给你一个有意义的答案:很大程度上取决于你将使用的语言,你工作的公司,技术和你要编码的模式。终端市场也可以决定代码结构:军事市场倾向于这样,医疗应用程序会想要这样。



所以唯一有意义的答案是否 - 尽管他们中有很多人!
No.
There are lots of standards. Probably nearly as many as there are people writing code! :laugh:

There are too many variables here to give you a meaningful answer: a lot depends on the language you will use, the company you work for, the technologies and patterns you will code for. And the end market can also dictate the code structure: the military market tends to want this, a medical application will want that.

So the only meaningful answer is "No" - despite there being a heck of a lot of them!


Nope。

但是有明智的指导方针。最重要的是:以编译器接受它的方式构造代码......


这篇关于代码结构标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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