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.

Me
We mainly want to study data mining algorithms and 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 powerful, but its syntax
I used Perl's basic syntax and used it for some simple text processing work. However, it is still not easy to use. It seems to be in Unix or
Linux is the best choice for System Management Perl.

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 also stuck in BASIC language understanding.
But it gave 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.

Its
The three languages are basically the same in Google and Baidu, with the most Perl, the center in Ruby, and the least in Python. Considering the appearance of languages, their technical needs will be influenced.
Well, Perl is the oldest. python is centered 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 ".

 

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.