Coding of (software engineering summary)

Source: Internet
Author: User

The development of software is divided into 6 main steps: Planning, requirement analysis, software design, program writing, program testing, operation and maintenance. The previous summary has already said the development plan, the demand analysis, the software design These four steps, now we say the procedure to write.

The so-called program writing, is coding. Refers to the detailed stage of the design of a certain programming language into the computer can recognize the program. We write code for each module in the program, so that it appears in detail to design the results it deserves.

From the point of view of improving the quality and maintainability of software, the main problems to be solved in the coding phase are: the choice of programming language, the style of program design and the review of software code.

the choice of programming language directly affects the difficulty of development and the quality of software, so the first task of programming is the choice of language. Before choosing a language, you should first understand the classification of the language and the functions of each language. Languages can be divided into two main categories: low-level and high-quality languages. (1) Low-level language, including machine language and assembly languages, low-level language use complex, cumbersome, time-consuming, but in the implementation of the interface with the hardware system part of the use of it, because it is easy to implement, high efficiency. (2) High-level language is characterized by a certain degree of specific machine-independent, and easy to implement, easy to use, easy to maintain. Although different programming languages differ greatly in their use and implementation, the basic components of them are very similar. The basic ingredient has (1) data components that describe the data involved in the program. (2) An arithmetic component that contains the operations that are included in the lock in the program. (3) A control component used to describe the control contained in the operation. (4) Transmission of the components to express the transmission of data in the program. Knowing all the languages, we're going to make a choice. Choose from three aspects: software, hardware, and people. We can not follow the trend to choose the most popular programming language at that time, but to consider the application of the system we are developing, the proficiency of hardware and developers, as well as the special requirements of users.

The language has been chosen, and then the code is written. Regardless of the design language, we have to write according to the programming specifications, because for a professional, the code is not only for the implementation of functions, but more importantly, so that others can read. We're not alone in development, we want teamwork, so annotations, indentation, defining variables are some of the things we need to be aware of. We should serve the whole heart wholeheartedly.

After the code is written, the code is reviewed to standardize the coding style of the development team and to ensure that the code is integrated in its implementation.

The development of software is not a person can be done, we need is the cooperation of the group, so that the code is very important to write code, we do not just want to write their own codes to achieve the corresponding functions, but also to let the teammates understand the code we write. Hollows, not a day's work ... We should start from now on step by step practice, develop a good coding habit!

Coding of (software engineering summary)

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.