Language-Why is python better than PHP when it's simple to talk about the Web?

Source: Internet
Author: User
Tags minimalist design
RT, always do not understand why only the web side, Python better than PHP ...

Is it because of the simple grammar? Development efficiency? Frameworks and libraries?

Like that?

Reply content:

RT, always do not understand why only the web side, Python better than PHP ...

Is it because of the simple grammar? Development efficiency? Frameworks and libraries?

Like that?

Or you can read it all over again.

I have contacted PHP and Python , to publish their own views (do not like to spray, if there are errors, please correct me).
Both are the most popular language in web development, whether in the developer, or the student community, there is a high degree of popularity, in the Tobie leaderboard, the difference is not much, at the same time, both have a very active community to support, there are many third-party libraries (PHP pear, Python has pep) and so on.
For PHP, get started fast, proficient, learning curve compared to fast and slow, because the easy to get started, so phper also relatively quickly form a prototype product, for later iterations; a good study of WP source code, perhaps to go outside to find a PHP development work, salary salary and your ability. As the upstairs said, the kingdom is not short of PHP developers. In mass development, the average salary of phper is lower than that of Pyer (which TZ can find relevant research abroad).
For PY, more difficult to get started than PHP, proficient is also more difficult, learning curve in line with the slow-heat type; But after getting started, the prototype can be developed quickly, development efficiency and iterative efficiency will be slightly better than php;py in machine learning, natural science and other fields have a wide range of applications, and even for desktop application development, and has a lot of powerful module support, can greatly reduce development time.

I've seen this passage in an article before: PHP is used to find work, and PY is used to make money, and Ruby is used to improve its own force.

Development language There is no good and bad points, their own handy is good ~
Now the emergence of a variety of new languages, saying that compared to other languages how advanced, how to use ~
However, there are many people really use it ~
So, what's best for me

Rails.

The typical first one is to give a conclusion, and then to reverse the reason

PHP is a veteran web scripting language, relatively mature compared to the other two. Although PHP is fast prototyping, it is easy to get out of control, especially when the project is slightly larger.

For Python, because of its own minimalist design, there may be more applications, almost all aspects of it can be involved in it, the Web is just one aspect of it, and there are more successful killer applications, Youtube is developed in Python, the server's various original shell Or Perl scripts, scientific calculations, game scripts, even on the desktop client can see Python's masterpiece, such as Ulipad, for beginners, Python is a good choice, in these three of its syntax is the most concise and clear, suitable for beginners to learn.

There is no good or bad programming language, it is like taking Chinese and English to compare, it is difficult to separate a high and low. You should understand the characteristics of both languages and use the appropriate language on different occasions. For example, if you want to make a small blog, PHP will be more appropriate. If you are developing a large application, use Python. PHP can also do large-scale applications, but in this case python is a little better.

Are you sure you're not a novice?

Are you sure you're not here to pick something up?

Take the frame, community, developers can just find a way php to kill python =

It's just php ugly.

You can change this question 单纯谈web的话,什么语言最好 .

Come on, it's war.

Of course, rails is the first,
But then again php end abuse python

Single language design, Python has a history of problems left, not good. PHP is not to mention, bad design, of course, does not affect its work.

In web development, the tradeoff between efficiency and performance is largely considered. The Ruby community is more creative, with advanced web development ideas and patterns derived from the ruby community.

There is never a shortage of PHP jobs in the kingdom. Python is increasingly powerful in operations management, data mining, and machine learning.

Finally, I don't think there is anything wrong with talking about language. Of course, there is no attempt to persuade others to accept their views.

PHP is the world's best language, the world is composed of JS, there are python birds.

The Third World War has begun again!

  • 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.