Code

Scripting languages slip in popularity

Pro
Image: IDGNS

15 November 2017

Prominent scripting languages, once viewed as the future of programming by offering ease of use, have slipped in the monthly Tiobe index of language popularity. Only Python and JavaScript still have some momentum.

Languages that have seen their fortunes decline include Perl, PHP, and Ruby. Software quality services company Tiobe’s suspected cause is a desire among developers for higher quality than is afforded in scripting languages: “Because quality demands are getting higher and higher, hardly anybody dares to write a critical and large software system in a scripting language nowadays.”

Error shows
With scripting languages, most errors show up in runtime. And this is a problem, Tiobe says. Developers can write unit tests to compensate for this but it still is “quite dangerous” because these errors can happen while the application is in production. Statically typed languages, meanwhile, have responded to the threat of scripting languages by reducing type verbosity.

In this month’s index, which ranks language popularity based on a formula assessing searches on languages in popular search engines, Python was ranked fourth, one spot ahead of where it was last year, up 0.91% in that period. The language has enjoyed a reputation of being easy to learn and has become popular at high schools and universities. JavaScript, a critical cog in web development, was ranked sixth after having been eighth a year ago. It grew 0.27% since November 2016.

But further down the list, PHP was ranked eighth in the November index after being in seventh place the same time last year; its rating has slipped 1.23% from a year ago. Ruby finished in 13th place and lost 0.39% from a year ago, when it was in 14th place. Perl, meanwhile, was in 15th place, down five spots and 0.8% from a year ago. As a result, scripting languages in general gradually are moving out of Tiobe’s top 20.

Even JavaScript has had to evolve, with Microsoft introducing TypeScript, its statically typed version of JavaScript. JavaScript also has benefitted from frameworks such as Angular and React that have served to safeguard the language and add extra functionality, Tiobe notes.

Tiobe Top 10 programming languages
Elsewhere in the index, the leaders, Java and C, continue to take the first and second spots. The top 10 languages in this month’s Tiobe index were:

  1. Java, at 13.231%
  2. C, at 9.293%
  3. C++, at 5.343%
  4. Python, at 4.482%
  5. C#, at 3.012%
  6. JavaScript, at 2.972%
  7. Visual Basic .Net, at 2.909%
  8. PHP, at 1.897%
  9. Delphi/Object Pascal, at 1.744%
  10. assembly language, at 1.722%

PyPL Top 10 programming languages
In the alternative PyPL Popularity of Programming Languages index, which examines how often language tutorials are searched on in Google, scripting languages still finish near the top but remain behind Java. PyPL’s top 10 languages for November were:

  1. Java, at 21.4%
  2. Python, at 18.6%
  3. PHP, at 8.2%
  4. JavaScript, at 8%
  5. C#, at 7.6%
  6. C++, at 6.3%
  7. C, at 6.3%
  8. Objective-C, at 3.9%
  9. R, at 3.8%
  10. Swift, at 3.1%

 

IDG News Service

Read More:


Back to Top ↑

TechCentral.ie