Comparison between Perl, Python, Ruby, and Javascript

Source: Internet
Author: User

In order to select a suitable scripting language for learning, I checked a lot about Perl, Python, Ruby, and JavaScript today, but I found that people in various camps are touching their favorite languages, however, it is not controversial that JavaScript is not suitable for independent development at the present stage, and its world is still on Web applications.

I mainly want to study data mining algorithms and should process a large amount of text. Speaking of text processing, I believe most people will say Perl should be used. Indeed, Perl's text processing is very powerful, but its syntax is too messy. I have completed the basic syntax of Perl, it also makes some simple text processing work, but it is still not so easy to use. It seems that Perl is the best choice for system management on Unix or Linux.

Python is said to have absorbed some Perl things. Its special point should be that its syntax is very standard. The written program must be in a beautiful format, because I have not studied it yet, I do not know what it is suitable for. I excerpted the following features:

Object-oriented scripting language
Free, portable, powerful, and mixed programming with other languages
System software script
Graphical user interface for graphic development
Integration of components, supporting COM and Java
Quick prototyping
Internet scripts
Image processing, AI, and distributed objects
RedHat linxu Installation tool uses Python
Ms once released some programs written in Python.
Yahoo! Use python in a large number of Internet services
Implementation of NASA's Python user Task Control System
Create a commercial animation for the logos produced by industrial light and magic in Jurassic Park using python.
Ruby, I was just engaged in RoR development for a company. I only made a simple module and did not continue to participate in the project due to time issues, therefore, Ruby is still at the stage of understanding basic syntax, but it gives me a good impression. Perhaps it is because it is the latest in comparison to the above two languages. It should absorb the advantages of many predecessors, which are easy to use and powerful.

After checking the data for a long time, I still don't know which one to choose. Of course, every learning point is not a problem, but now I want to find a key research object to reach the level of proficiency.

There is no way. I conducted an experiment in the search engine to see which language has a high demand for technicians:

Search for the keyword "XXX recruitment" in google ":

About 540,000 Perl-compliant recruitment items
About 500,000 matching Python recruitment items
About 515,000 items Meet Ruby recruitment requirements
About 1,280,000 javascript-compliant recruitment items
Search for the keyword "XXX recruitment" in baidu ":

Perl recruitment: About 534,000 related webpages found
Python recruitment: About 338,000 related webpages found
Ruby recruitment: about 400,000 related webpages found
Javascript recruitment: About 2,390,000 related webpages found
Although javascript has the largest demand, it is not suitable for the work I want to do, so I will not consider it.

In the other three languages, google and baidu have the most segments, Perl, Ruby, and Python. Considering that the emergence of Languages has an impact on their technical needs, perl is the oldest. It is centered in Python, and Ruby is the youngest. Considering the syntax characteristics of the language itself, Perl is the most obscure, and both Python and Ruby are neat.

In general, I prefer to study Ruby in depth.

That's it. After all, it's not a life-and-death decision. You don't have to hesitate. Language itself has no advantages or disadvantages. The key lies in the proficiency of people who use the language. As a cool man said: "I use pure C language to write a perfect OO program ".

This article from the CSDN blog, reproduced please indicate the source: http://blog.csdn.net/lee576/archive/2008/07/29/2728561.aspx

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.