你遵循什么Delphi编码标准文件? [英] What Delphi coding standards document(s) do you follow?

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

问题描述

您遵循什么Delphi编码标准文件?

我们公司正在考虑将更好的编码标准放在适当位置,以提高我们的代码的可读性,可审阅性和可维护性。我们已经遇到了CodeGear的对象帕斯卡风格指南,但是在一段时间内还没有被触动,我想有一些人已经做了一些本地的改进或补充。我遇到了一些已发布的变体和其他文档,我将在下面列出。

Our company is looking at putting some better coding standards in place, to improve our code’s readability, reviewability, and maintainability. We’ve come across CodeGear’s "Object Pascal Style Guide", but it hasn’t been touched in quite a while and I imagine a number of people have made some local improvements or additions. I’ve come across some published variations and other documents, which I will list, below.

注意:我不要要开始风格战争我只想知道你遵循的标准,以及为什么。

NB: I do not want to start a style war. I just want to know what standards you follow, and why.

谢谢。



更新:嗯,JCL Delphi语言风格指南似乎是明确的赢家!谢谢!


UPDATE: Well, the "JCL Delphi Language Style Guide" seems to be the clear winner! Thanks!

推荐答案

JCL Delphi语言风格指南

(CodeGear的Object Pascal Style Guide的扩展名)

(An extension of CodeGear’s "Object Pascal Style Guide")

http://jcl.delphi-jedi.org/documents/styleguide.html

(感谢Jeroen Pluimers,注意到原来的borland.com链接已经死亡,并提供了新的链接。)

(Thanks, Jeroen Pluimers, for noticing that the original borland.com link had died and for providing the new link.)

这篇关于你遵循什么Delphi编码标准文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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