软件工程编码阶段
The coding phase in the software engineering paradigm is usually defined after the designing phase. In this phase, the developers or the coders have to implement the software design practically using any computer language(s) so that the software can be created and the user can use it. This is the main step to be performed, and to ensure that this step is performed efficiently and is prone to minimum errors, the rest of the steps included in the software lifecycle model are followed.
软件工程范例中的编码阶段通常在设计阶段之后定义。 在此阶段,开发人员或编码人员必须使用任何一种或多种计算机语言来实际实施软件设计,以便可以创建软件并让用户使用。 这是要执行的主要步骤,并且为确保有效执行此步骤并易于将错误减少到最低限度,请遵循软件生命周期模型中包含的其余步骤。
Now, the coding is not just a matter of implementing the code in any suitable language as per the developer's choice. Some norms and standards are set for this purpose which is known as the coding standards. Usually, good software developing organizations ensure that the developers of their software follow these standards to produce good quality software. Some of the organizations follow these standards strictly, while some make some modifications and alterations in these to meet their need and their quality levels.
现在,编码不仅仅是根据开发人员的选择以任何合适的语言实现代码的问题。 为此设置了一些规范和标准,称为编码标准 。 通常,优秀的软件开发组织会确保其软件开发人员遵循这些标准,以生产出高质量的软件。 一些组织严格遵守这些标准,而一些组织则对其进行一些修改和更改,以满足其需求和质量水平。
为什么要使用这些编码标准? (Why these coding standards?)
The coding standards are created and the developers are made to follow them while coding the software program. But, it is important to understand the need behind imposing these standards. The purpose of requiring all the developers (of the organization) to follow the same style of coding according to the mentioned standards is as follows,
创建编码标准 ,并让开发人员在对软件程序进行编码时遵循它们。 但是,了解实施这些标准背后的需求很重要。 要求(组织的)所有开发人员按照上述标准遵循相同的编码样式的目的如下:
Uniform appearance of the whole code:
整个代码外观统一 :
As we know that software is developed with the help of various members and it includes many coders who are responsible for developing different modules of the software. So, if a common standard in coding is followed, the same type of routine in the whole code can be noticed.
众所周知,软件是在各种成员的帮助下开发的,它包括许多负责开发软件不同模块的编码员。 因此,如果遵循通用的编码标准,则可以注意到整个代码中的同一类型的例程。
Understanding the code becomes easier:
了解代码变得更加容易 :
As many developers are working together on the same project, there is a high need among the developers to be able to understand each other's code. A common style of coding by everyone makes it easier for a developer to understand another developer's code.
由于许多开发人员正在同一个项目上一起工作,因此开发人员非常需要能够理解彼此的代码。 每个人的通用编码风格使开发人员更容易理解另一位开发人员的代码。
The dependency of code on a particular developer is reduced:
减少了代码对特定开发人员的依赖 :
If a developer leaves his job in between, it is very difficult for some other developer to understand his work and proceed further with the same. In such cases, the module is started afresh or the maximum number of times. Following a set of standards while coding reduces such type of problem, as the code understandability is increased by this process.
如果某个开发人员将其工作留在中间,那么其他一些开发人员将很难理解他的工作并继续进行下去。 在这种情况下,模块将重新启动或启动最大次数。 在编码时遵循一组标准可以减少此类问题,因为此过程提高了代码的可理解性。
Good programming practices are encouraged:
鼓励良好的编程习惯 :
When all the developers (more overly of that particular organization) follow the same style of coding according to the suggested norms, then this reflects goof programming practices among the developers and also resembles uniformity in their work.
当所有开发人员(在特定组织中过多使用)按照建议的规范遵循相同的编码样式时,则这反映了开发人员之间的愚蠢编程实践,也类似于他们工作中的统一性。
翻译自: https://www.includehelp.com/basics/coding-phase-in-software-engineering.aspx
软件工程编码阶段