Introduction to Software engineering 9-Implementation

Source: Internet
Author: User

Software implementation is a key process of a software product from concept to entity, which translates the results of detailed design into program code written in a programming language and can eventually run. The process of software implementation includes basic activities such as code design, design review, code writing, code walking, code compiling and unit testing. Programming language is an important tool for communication between human and computer, so choosing a suitable programming language is an important work in software development process, the reference standard has application domain, user requirement, system compatibility, portability and development environment.

In software engineering practice, the coding specifications of the commonly used programming languages are as follows:

1. File Naming and organization

2. Layout of the Code: (1) appropriate blank line (2) line of code and space within the line (3) branch, alignment and Indentation (4) naming Convention (5) Declaration (6) Comment

The programming style affects the readability, testability and maintainability of the program, and even affects the execution efficiency of the program. Common problems include the following:

(1) The program annotation problem: The program annotation should be simple and clear, good annotation is the refinement expression and the clear expression to the design idea.

(2) variable naming problem: name it with complex and difficult to understand names.

(3) Memory anomaly problem: Due to continuous memory leakage caused by or unauthorized access to memory, such as pointer parameter problems.

(4) Exception handling problem: No various types of exceptions are caught.

(5) Performance issues: 1. Avoid creating duplicate Objects 2. Optimize the statement to improve performance.

After writing the source program, software code review is required. For example, there are no errors in the syntax of the program module, semantic correct problems, some performance or functional deficiencies and so on.

Introduction to Software engineering 9-Implementation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.