Code Wars: PHP vs Ruby vs Python

By siliconindia   |   Tuesday, 10 January 2012, 02:28 IST
Printer Print Email Email

Comparison

  

Usability and Ease of Learning

Ruby tops the usability section by its principle of least astonishment, enforced to minimize confusion for users. The most readable language, Python comes second followed by the extensively documented PHP.

In ease of learning, python leads section with PHP on the second followed by Ruby.

 

 

 

Popularity

Popularity is based upon the languages preferred by programmers each year. According to the TIOBE programming community index, PHP is the most popular language with 6 percent of programming, followed by Python with 3.5 and Ruby with 1.5 percent. The ranking of PHP had come down from 4th in Dec 2010 to 6th in Dec 2011. Python also lost 2 positions making it on 8th while Ruby continues to be in the 11th position for the two consecutive years.