About several programming languages ---- Java, Python, etc.

First, the development of language:

  (1) high-level language (byte code):

      Java, Python, PHP, C ++ , C #, GO language and so on.

  (2) low-level language (machine code):

      C language, assembly language, machine language.

Second, high-level language features:

     (1) people-oriented, close to natural language and math formula.

     (2) does not need to know the hardware system of a computer, it has an affinity. (Black box principle: do not need to understand the working principle, but he can operate ------ task for a junior programmer or just beginning to understand the people.)

     (3) greatly reduce the development time is short, readable, maintainable.

Third, the low-level language features:

      advantage:

        High efficiency, can be read directly execute machine (binary code)

      Disadvantages:

        Poor readability (only 0 and 1), tedious programming.   

Fourth, on the introduction of three languages:

      Java:

         例:class HelloWorld{

              public static void main(String [] args){

                System.out.println ( "This is the first Java program");

                }

            }

         Features:

            (1) Simple

            (2) Object-Oriented

            (3) Security

            (4) cross-platform *

            (5) Support multi-threading

     python:

         例:print("Hello World")

          Features:

              (1) do not need to declare variables.

              (2) the language is simple, high development efficiency.

              (3) has a wealth of library use.

      C Language:

        例:#include<stdio.h>

          main(){

            printf("HelloWorld");
            }

          特点:

              (1)可以直接访问地址。

              (2)运行效率高。

              (3)功能强大。
   

Guess you like

Origin www.cnblogs.com/numen-sun/p/10932993.html