The question of language, different people have different opinions, are basically beliefs, and it is impossible to force agreement. But as a Python fan, I want to defend Python a little bit here.
In terms of syntax, Python is much more elegant than Perl. Perl is full of celestial symbols like! And _. When I was a beginner, when I read a piece of code, I would encounter a few symbols that I had never seen before. Then after two weeks, they appeared to me in a brand new face. before. In my opinion, this is by no means compact, just crazy. But the same Nietzsche, some people saw a great philosopher, some people saw just a lunatic. You can appreciate its unruly creativity, what I hate is its irrationality.
Class library, Python class library is not as many as Perl. But this is largely because Python does not have a collection of libraries like CPAN. In fact, Python's class library is also very complete, just to find. SourceForge is one, in addition to freshmeat. In my own experience, some libraries were found accidentally. For example, I looked at IBM's developer network, saw a twisted, read its README during installation, and found that there are pycrypto and pyopenssl libraries. In my experience, I haven't encountered a situation where I can't find a library.
If you think that the development efficiency of Python is not as good as that of C++, you can only say that you are still too unfamiliar with Python, but if you have a background in C++, you will be able to pass this level soon. In fact, Python's text processing capabilities are not inferior to Perl. The idea of its re module is very similar to that of Java's regex, and Chinese processing requires codecs. After you really understand it, you will feel that the logic of the Python module is very strong. Unlike Perl, although it is very convenient, there is no necessary connection between each module.
Regarding large-scale Python projects, I think the most well-known one is Zope, followed by twisted (it is both a class library and a framework). There are also gadfly, medusa (actually these two are sub-projects of Zope, but Perl does not have this heavyweight product), and Chandler. These are pure Python programs.
Python also has the following advantages:
Compared with other programming languages, the learning intensity of Python is generally recognized to be simple, and it can be easily learned with zero foundation, and has a good development prospect. It has been widely used in artificial intelligence, big data, cloud computing and other fields, and talents at this stage Shortage, salary is generally higher than other programming languages, so it is a good choice for IT transformation!
Knowledge point expansion:
The application of Python in some companies:
In addition to the above, companies such as Sohu, Jinshan, Tencent, Shanda, Netease, Baidu, Ali, Taobao, Tudou, Sina, and Guok are all using Python to complete various tasks.
So far, this article on the advantages of python relative to enterprise language is introduced. For more relevant python advantages, please search for ZaLou.Cn's previous articles or continue to browse the related articles below. Hope you will support ZaLou more in the future. Cn!
Recommended Posts