Article · 中文
代码风格(英語:Programming style)即程序开发人员所编写源代码的书写风格。良好的代码风格会帮助程序员阅读和理解符合该风格的源代码,并且避免错误。 关于该主题的经典著作是 1970 年代编写的,并以当时流行的 Fortran 和 PL/I 语言的示例进行了说明。 特定程序中使用的编程风格可能源自公司或其他计算组织的,以及代码作者的偏好。编程风格通常是为特定的编程语言(或语言家族)设计的:在 C 源代码中被认为是良好的风格可能不适合 BASIC 源代码等等。但是,一些规则通常适用于许多语言。
Abstract from DBpedia / Wikipedia · CC BY-SA
Connections
Python
Entity
brackets
Entity
tab stop
Entity
HTML
Entity
Q15777
Entity
Java
Entity
computer programming
Entity
Q81571
Entity
Lua
Entity
LaTeX
Entity
source code
Entity
Q34010
Entity
open source
Entity
text editor
Entity
integrated development environment
Entity
class
Entity
subroutine
Entity
assignable variable
Entity
camel case
Entity
tab key
Entity