Home > Common Problem > body text

What are the main goals of modern programming?

Release: 2020-03-09 08:49:45
Original
9465 people have browsed it

What are the main goals of modern programming?

The goal of modern programming is mainly to pursue a clear structure, strong readability, and easy division of labor and cooperation in writing and debugging.

Most modern procedural languages ​​encourage structured programming. Structured programming mainly emphasizes the readability of the program. The specific situations are as follows:

Structured Programming typically uses a top-down design model, where developers map the entire program structure to a single small part. A defined function or a collection of similar functions is encoded in a single module or submodule, which means that the code can be loaded into memory more efficiently and the module can be reused in other programs. After the module is tested individually, it is integrated with other modules to form the entire program organization.

The program flow follows a simple hierarchical model, using loop structures such as "for", "repeat", and "while". The use of "Go To" statements is discouraged. Almost any language can use structured programming techniques to avoid the usual pitfalls of unstructured languages. Unstructured programming must rely on developers to avoid structural problems, resulting in poorly organized programs.

The above is the detailed content of What are the main goals of modern programming?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!