Quantifying Popular Programming Languages

In a study of programming languages stipulated in job listings, Perl scores higher than you might think.


November 01, 2003
URL:http://drdobbs.com/web-development/quantifying-popular-programming-language/184416062

November, 2003: Quantifying Popular Programming Languages

Thomas has authored four books on C, and coauthored Efficient C (with Jim Brodie) and C++ Programming Guidelines (with Daniel Saks). Plum Hall (his company) provides test suites for C, C++, Java, and C#. Thomas can be contacted at [email protected].


For any number of reasons, people always want to know the relative popularity of various programming languages. To provide one measure of language popularity, we focused upon one publicly available and objective measurement—the number of web-based job offers that specify requirements for different programming languages. Our most recent analysis covered the 12-month period from July 2002 to June 2003. We scanned job offers in the category "software" from several employment web sites, eliminating duplicates. Table 1 presents our results.

There are several technical issues: We eliminated duplicate offers on a monthly basis. We used case-insensitive matches. In counting "Java" requirements, we had to avoid false hits on "JAVASCRIPT" (obviously). We counted "J2EE," "J2SE," and "J2ME" as equivalent to "JAVA." We added "JAVASCRIPT," "JSCRIPT," and "ECMASCRIPT" together to make a "J*script" total. To exclude "VBA" and "VBSCRIPT" from the "Vbasic" total, we matched "VB followed by any letter except A or S," adding that to the matches for "VISUAL BASIC." The total indicated as "Vbasic.net" counts job offers that matched "Vbasic" and also ".NET." We noticed false hits on "PASCAL" when the name "Pascale" appeared in the job offer, so we counted only "PASCAL followed by a nonletter." Several web sites could not properly handle "C#" as a lookup keyword, so we scanned the full text of all "software" offers and performed our own keyword search. The number of (nonduplicate) job offers per month varied, but was never less than 4000.

Determining the percentages for "C" was the most challenging. Our first attempts used a simple regular expression like the other matches: "[^A-Za-z0-9]C[^.A-Za-Z0-9#+]" (which means "the letter C, preceded by a character that isn't a letter or digit, and followed by a character that isn't a letter or a digit or a period or a sharp-sign or a plus"). We then visually scanned a month's data, finding that about 5 percent of the "C" hits are clearly not C programming jobs: "Bldg C," "Suite C," "Unit C," "A/C" (air conditioning?), "C-Level" ("C-level sales," "C-level executive"), "4.6.C," "C-1426," and so on. Therefore, we prefiltered "C-LANG" and "C-CODE" into plain "C," we prefiltered "C-SHARP" or "C SHARP" into "C#," we prefiltered "C ++" or "C PLUS PLUS" into "C++," then we excluded "period before or after C," and we excluded "hyphen after C."

We added another category—"C/C++"—which contained all the "C" cases that also contain "C++" somewhere (usually, but not always, the keyword "C/C++"). The "C/C++" percentage was usually more than half of the "C" percentage, and about half of the "C++" percentage.

From early reviewers, we received some comments on our methodology. One reader cautioned that percentages based on published job offers overlook those offers filled internally within the organization and that the percentages of jobs filled internally might be significantly different. We agree, but can't study internally filled jobs with our methodology. Other readers requested more languages. We've added all the languages requested so far; if you want more languages or more detailed analysis, just ask us.

If you believe that some publicly available job sites are biased in favor of, or against, any particular programming language, we would be grateful for your information. (As of today, we are unaware of any such biases.)

My special thanks to Doug Teeple ([email protected]) and John Breeden ([email protected]), for valuable assistance with the survey software.

TPJ

November, 2003: Quantifying Popular Programming Languages

Month C++ Java C C/C++ J*Script C# .Net Cobol Pascal Fortran Ada RPG VBasic VBasic.NET Perl
2002-07 52.8% 40.9% 33.6% 21.8% 8.0% 2.3% 13.3% 5.4% 0.2% 0.7% 5.6% 2.1% 18.1% 3.2% 12.5%
2002-08 50.3% 44.1% 42.6% 25.9% 10.6% 3.0% 13.2% 5.1% 0.2% 0.8% 4.1% 2.1% 21.3% 4.0% 14.9%
2002-09 50.2% 43.4% 40.6% 26.1% 8.6% 3.2% 15.4% 5.3% 0.2% 1.3% 5.2% 2.3% 20.5% 4.4% 13.6%
2002-10 46.3% 43.2% 35.0% 22.8% 11.5% 4.9% 17.1% 6.9% 0.3% 1.2% 6.1% 2.8% 22.6% 5.0% 11.0%
2002-11 47.2% 44.2% 37.7% 25.1% 10.5% 4.9% 17.5% 5.1% 0.3% 1.4% 4.6% 2.0% 19.0% 4.8% 14.3%
2002-12 47.2% 45.6% 35.5% 23.9% 9.1% 6.0% 18.5% 5.8% 0.4% 1.2% 4.7% 1.7% 21.7% 6.2% 14.1%
2003-01 49.2% 43.6% 36.1% 26.6% 10.0% 6.2% 19.0% 3.7% 0.3% 1.4% 5.7% 1.2% 17.9% 5.9% 11.8%
2003-02 52.2% 41.5% 42.2% 31.3% 9.1% 6.4% 17.2% 3.7% 0.2% 1.5% 6.0% 0.6% 16.8% 5.2% 11.4%
2003-03 50.3% 39.7% 40.5% 28.2% 8.9% 6.9% 17.9% 4.1% 0.1% 0.9% 4.6% 0.8% 18.5% 6.3% 12.6%
2003-04 47.4% 41.0% 39.9% 26.4% 8.4% 6.3% 16.8% 3.9% 0.2% 1.1% 4.9% 0.8% 18.5% 6.3% 14.3%
2003-05 57.2% 39.8% 40.6% 30.3% 9.2% 6.0% 15.5% 2.3% 0.2% 1.0% 8.8% 0.7% 18.4% 6.7% 10.4%
2003-06 55.5% 42.3% 43.0% 31.2% 9.6% 5.8% 15.2% 2.6% 0.2% 1.1% 7.1% 1.2% 17.5% 6.3% 13.3%

Table 1: Jobs per month according to language.

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.