what is source code

云罗郡主
Release: 2019-01-15 11:45:33
Original
102818 people have browsed it

what is source code

Source code is a text that describes the behavior of a program. Source code can exist in every software. The software executes according to the programming in the source code. Commonly used The format is a text file. The ultimate goal of computer source code is to translate human-readable text into binary instructions that the computer can execute. This process is called compilation, and is completed through a compiler.

For example, Java source code

final PropertyUtilsBean propUtils = (pu != null) ?
                          pu : PropertyUtilsBean.getInstance();
    final CacheKey key = new CacheKey(beanClass, propUtils);
    WrapDynaClass dynaClass = getClassesCache().get(key);
    if (dynaClass == null) {
        dynaClass = new WrapDynaClass(beanClass, propUtils);
        getClassesCache().put(key, dynaClass);
    }
Copy after login

Each line has a unique meaning. Each line is composed of a computer instruction. The computer instruction is read from top to bottom. Source code can be written in various programming languages. There are currently more than 200 programming languages, including Java, C language, PHP, Python and other source codes. Even for the same operation, the description method depends on the programming language. Therefore one needs to understand each language to read the source code.


The above is the detailed content of what is source code. 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