Home  >  Article  >  What is code and why should we design it?

What is code and why should we design it?

尚
Original
2019-10-25 17:44:2818355browse

What is code and why should we design it?

Code is a series of command codes composed of letters, numbers, and special characters. It can be used to achieve the functions people want to achieve. The reason why the code is designed is to improve Code utilization rate enables multiple uses of the code and facilitates understanding.

Code is a source file written by programmers in a language supported by development tools. It is a set of clear rule systems that represent information in a discrete form by characters, symbols or signal symbols. The principles of code design include unique certainty, standardization and versatility, scalability and stability, ease of identification and memory, striving to be short and consistent in format, and easy to modify.

Source code is a branch of code. In a sense, source code is equivalent to code. In modern programming languages, source code can appear in the form of books or tapes, but the most common format is a text file. The typical purpose of this format is to compile a computer program.

The ultimate goal of computer source code is to translate human-readable text into computer-executable binary instructions. This process is called compilation, which is completed by a compiler.

The above is the detailed content of What is code and why should we design it?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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