What are the advantages of PHP over Perl?

Source: Internet
Author: User
I read the source code of a website two days ago. From the Language Perspective, PHP has no advantages for Perl. So how does PHP overwhelm a mature language after its rise and the opposite is achieved? I read the source code of a website two days ago. From the Language Perspective, PHP has no advantages for Perl. So how does PHP overwhelm a mature language after its rise and the opposite is achieved? Reply content: I 'd like to know how the subject compares language.

After all, Perl is not a simple language, but a tool set that creates wheels.
You don't know how many methods to implement OO.

Let's look at high order perl, which is similar to the abstract ability of LISP.

The reason why PHP can catch up is that many people will not deploy Web applications of the Catalyst. In contrast, PHP can be developed happily without understanding what deployment means.

As a professional linguistics and computer scientist, Larry Wall has not considered the needs of those who cannot master highly abstract structures.

That's it. Because PHP is the best language. In addition to PHP's object-oriented and exception handling, language-level PHP makes me uncomfortable. In particular, the variable scope is wonderful.

PHP was designed for network programming from the very beginning. All of them are language-based, such as $ _ SESSION and $ _ POST. Perl seems to be partial to general purpose.

Perl5 announced an ambitious Perl6 plan to replace Perl5 in the early 21 st century when the situation was quite good. It turned out that Perl6 had not been developed for more than a decade and it cooled the hearts of the brothers.

Perl has a high degree of freedom and is easy to write unmaintainable code. No advantage. The reason for the rise of PHP is that it has a low threshold and is easy to learn. As a result, many people are learning and easy to recruit.
Related Article

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.