Father python Python's new world of horses

Shu and his turtle python

After a long journey, and finally to see the protagonist Python. Python is now very, very popular programming language, in most programming languages ​​we can see in the chart, Python can have a place in the top three in the front, and the momentum is very fierce, so to speak Python is a very, very promising language.

  So Python in the end is what kind of language? Today we'll find out together. Guido van Rossum, a Dutch programmer, programmer dubbed by Chinese turtle t. He is the father of the legendary Python. It was such a person design creates the Python programming language.

  ▲ Guido Van Rossum

  The process of the invention is similar to the programming language, mostly originated in the dissatisfaction with the status quo, Python has not been immune. Guido early in the design Python, the market already there are many different programming languages, but it seems that every language is not so perfect. C language is very powerful, but the syntax is complex, high learning costs, use too much trouble. Shell is very simple to use, yet powerful enough yet, a lot of things can not be completed. In this context, Guido wanted to design a powerful and simple grammar of a new language.

  In 1989, Christmas, Guido to pass the time, started writing new language interpreter. Here we mention the interpreter, on a programming language, you can simply put it into two parts syntax and interpreter. The syntax refers to the number of grammar rules, all kinds of statements, ah, ah how to define variables and so a series of rules. The role of the interpreter is to convert the code in line with the rules of this series for the machine code of the program. So the interpreter program developed, this programming language is complete. In this way, Jiduo Li with a Christmas time to develop a new language interpreter.

  Guido is a very interesting person, was a very popular TV series Monty python's flying circus on TV. Guido also like to see, so use a name for the troupe to name the language, Python was born.

  ▲ troupe Monty python

  Python's design philosophy is "elegant", "clear", "simple", if you previously used other languages, again using Python, it will be simple, elegant shocked. The Python syntax is completely removed all unnecessary content, leaving only some of the essential things that Python syntax becomes very simple. In other words, compared to Python and other languages ​​can write less code and do more. On the "Java programming ideas" of Bruce Eckel commented Python: "life is short you need python", this sentence fully explain the simplicity of Python.

  ▲Bruce Eckel

  Python's syntax is simple, functional but not simple. C language can do, in Python can be completed. But Python is an interpreted language, C is a compiled language. Therefore, the performance of Python's C language is not so good, but do not think this would be finished in Python can call the code in C language, so if you think performance is not good enough, you can use the C language directly in Python to write some code. In addition to call C and C ++ code directly, you can also call Python code in other languages. Therefore, many people will use Python as a glue language (different languages ​​mix by Python).

  Python is such an elegant, clear, simple and powerful language, Python is a little exaggeration to say that almost perfect language.

  About Python features, I do not want to repeat them here. Just come into contact with a new language, we do not need too much to remember some of the things in theory, only about impression is enough, where you only need to remember two characteristics: first, Python is a scripting ( interpreted) language. Second, Python is an object-oriented programming language. What is object-oriented? To hell with it, later.

  Finally, we want to talk about the role of Python, Python can do very, very much (so to speak basically all do), such as: the development of network applications (Web site), desktop software development, operation and maintenance of automation, scientific computing , cloud computing, artificial intelligence. In short, in all areas of development can be seen Python's figure, but for us, this means they would learn very, very much Python direction we choose. However, the first not to consider the issue of direction, we step by step to learn the Python, the other stuff is not far away.

Guess you like

Origin www.cnblogs.com/adaicary/p/11587090.html