Home  >  Article  >  Web Front-end  >  what is source code

what is source code

云罗郡主
云罗郡主Original
2019-01-10 15:51:10102750browse

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);
    }

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!

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
Previous article:What is EC-CUBENext article:What is EC-CUBE