PHP vs Python

Source: Internet
Author: User

Recently in the development of public numbers, found that a lot of development of the public numbers are using PHP to develop, because I developed the web side like to use Python, so from the Quora web site to find a which-is-better-php-or-python-why article, looked at the next, English proficiency is limited, simple translation is as follows:

The two languages have different purposes and histories, so it is unfair to compare them with each other. I'll try to list the items I like about both of them.

Php:

    • Forgiveness: PHP is one of the most "free" languages I have ever used, and probably only JavaScript can rival him.
    • Easy learning curve: You can quickly launch PHP to develop a basic or experienced program. The main purpose of PHP is to create a service. This also facilitates rapid development.
    • Compatible Enthusiasts: PHP code does not need to work gracefully. I think this is the biggest reason why it has become the most popular web development language. You can write some code in a hurry and it will work.
    • Open Source community: He has a huge community and open source project that uses PHP. If you encounter an obstacle, you get support easily.
    • Web Development language: Most popular web Frameworks (Wordpress, Drupal, Joomla, Zend, CodeIgniter, oscommerce) are built on top of PHP, which makes it easy to find a PHP developer.
    • Host support: Because PHP is very popular, almost every host vendor supports PHP.
    • PHP 5 has a dramatic improvement over the previous version in terms of language design.

Python:

    • Grammar and Standard libraries: I like the readability of Python syntax. The standard Python library comes with a number of tools and utilities.
    • Generic: Python can run on a server, or it can build applications in many other places.
    • Elegance: Python has an elegant language design, which makes it easier to write great code.
    • Unicode support: Python has strong support for Unicode.
    • Modularity and clarity: less eccentric than Php,python language.

Original: Https://www.quora.com/Which-is-better-PHP-or-Python-Why

PHP vs Python

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.