Python and PHP

Source: Internet
Author: User
It has been almost half a year since I learned Python. Recently, I have spent some time studying Python carefully. Although I have studied it for more than half a month, I have a little experience. Since I was born in PHP, I made a comparison with PHP. 1. Speed. Python is slow, which is confirmed by everyone. It is incomparable to php speed. 2. Ph

It has been almost half a year since I learned Python. Recently, I have spent some time studying Python carefully. Although I have studied it for more than half a month, I have a little experience. Since I was born in PHP, I made a comparison with PHP. 1. Speed. Python is slow, which is confirmed by everyone. It is incomparable to php speed. 2. Ph

It has been almost half a year since I learned Python. Recently, I have spent some time studying Python carefully. Although I have studied it for more than half a month, I have a little experience. Since I was born in PHP, I made a comparison with PHP.

1. Speed. Python is slow, which is confirmed by everyone. It is incomparable to php speed.

2. Although Php has mobile development and desktop development, there are few real applications. Website programming is indeed powerful. Compared with php, Python is more comprehensive and can be used for everything. From traditional desktop software to Internet programming, to mobile application development to embedded development, it is omnipotent.

3. There are many Php applications in China, and domestic large and small companies have php applications. There are a wide range of materials and a large number of talents. Python is rarely used in China and has been applied by many companies, such as luumeng technology and Douban. There are few materials and few talents. However, Python has gradually become popular in China in recent years.

4. Both Python and php are interpreted languages. But they are quite different. Php inherits the advantage of C in terms of speed, which is fast. It is similar to C in terms of syntax. Many people say that as long as you have learned C, php is okay. In terms of object-oriented, php has largely learned the JAVA idea. Python and JAVA, from the entire architecture to the running speed. However, its syntax style is rigorous. There are traces of JAVA, but it is also more like JAVASCRIPT.

5. The Django framework of Python in web developers has conquered me and is very powerful. But it is also very bloated. Php has a slight weakness in this regard.

I am so happy to see you again. If not, please kindly advise.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.