News

TypeScript Outshines C# in Developer Ecosystem Report

TypeScript shines in a new developer report from JetBrains, outranking Microsoft's flagship C# programming language (and many other popular languages) in questions about usage and popularity.

In the new State of Developer Ecosystem 2021 report, TypeScript was found to be one of the fastest-growing languages and also ranked highly in questions about languages that developers are planning to adopt and were learning in 2021.

This report is based on the combined results of the fifth annual Developer Ecosystem Survey conducted by JetBrains, polling 31,743 developers from 183 countries or regions around the world.

Programming language popularity is always an interesting topic in such surveys, though this wide-ranging effort also tracks the current trends around applications, tools, frameworks and even developers' lifestyles and habits.

On that popularity scale, TypeScript tied for second place with Kotlin (both listed by 9 percent of respondents) when developers were asked what languages they were planning to adopt or migrate to, just behind Go (11 percent). Microsoft's C# language, meanwhile, was listed by 4 percent of respondents.

Languages Developers Are Using or Planning to Use
[Click on image for larger view.] Languages Developers Are Using or Planning to Use (source: JetBrains).

When asked what languages they had used in the last 12 months, most developers (69 percent) listed JavaScript. That's typical in such surveys and reports because the majority of respondents are usually web developers, so JavaScript almost always comes out on top. In this survey, for example, when asked about what type of software they worked on, the majority of respondents (61 percent) listed web sites, while utilities took a distant second place at 39 percent. Drilling down, 72 percent of respondents said they developed for back-end web projects, while 58 percent listed web front end (next was desktop at 32 percent).

Web-Dev Domination
[Click on image for larger view.] Web-Dev Domination (source: JetBrains).

Further speaking to the web-dev domination, the second-most-used language in the last 12 months was HTML/CSS (with JetBrains noting: "HTML/CSS is not a programming language, but it makes sense to present its popularity alongside that of programming languages."). TypeScript, meanwhile, was eighth on the list (29 percent), while C# was 10th (21 percent).

A five-year line chart shows TypeScript's steep climb up to its present position. In fact, that climb looks the steepest among languages that are still trending upward. C#, meanwhile, has actually tapered off in the last couple of years, while JavaScript and several others have also trended downward or stayed relatively flat:

Languages Developers Are Using or Planning to Use
[Click on image for larger view.] Languages Developers Are Using or Planning to Use (source: JetBrains).

When asked their primary language, developers provided up to three answers, and the scaling basically followed that listed above, though TypeScript came in at No. 7, one step above C#.

Another chart shows the different use cases in favor by the users of Microsoft's primary two programming languages. TypeScript developers overwhelmingly code for the web (89 percent front-end and 80 percent back-end) while mostly eschewing desktop development (27 percent). On the other hand, while C# is mostly used for back-end web work (76 percent), a much higher percentage of C# jockeys code for the desktop (56 percent) than do TypeScript users.

For Which Platforms Do You Develop?
[Click on image for larger view.] For Which Platforms Do You Develop? (source: JetBrains).

Summing up all of the above are seven key takeaways listed by JetBrains:

  • JavaScript is the most popular language.
  • Python is more popular than Java in terms of overall usage, while Java is more popular than Python as a main language.
  • The top-5 languages developers are planning to adopt or migrate to are Go, Kotlin, TypeScript, Python, and Rust.
  • The top-5 languages developers were learning in 2021 were JavaScript, Python, TypeScript, Java, and Go.
  • Ruby, Objective-C, and Scala have all decreased in popularity over the last 5 years.
  • The 5 fastest growing languages are Python, TypeScript, Kotlin, SQL, and Go.
  • A majority of the respondents (71 percent) develop for web back-end.

The results for TypeScript and C# are similar to other studies. For example, we reported in March that TypeScript had firmly ensconced itself into the top 10 echelon in a RedMonk ranking. In 2020 it was said to be among the most in-demand languages and climbing the popularity ladder, while also surging in the GitHub Octoverse report. Another more recent report from April showed that TypeScript paid well and was projected for huge growth, while C# didn't fare so well in those aspects.

Turning away from programming languages, other highlights of the report include:

  • More female developers are coming to the tech industry -- women are more likely to be involved in Data Analysis and Machine learning or UX/UI Design/Research, but less likely to work in Infrastructure Development / DevOps, System Administration, or Deployment.
  • 66 percent of the respondents now use video conferencing, up from 43 percent last year.
  • The market of video conferencing tools has changed a lot: Zoom, Microsoft Teams, and Google Meet have gained a lot of users, while Skype has been losing them dramatically.
  • More tools have introduced cloud solutions, and the usage of cloud versions has doubled in the last 4 years.
  • In early 2020 about 70 percent of developers worked from the office. Now 80 percent work from home.
  • In 2020, most developers reported programming as their biggest hobby. This year video games are topping the list, increasing in popularity from 49 percent to 59 percent.
  • Over the last 5 years, developers' preferences with respect to operating systems have remained constant. Here the rankings were Windows (61 percent), Linux (47 percent), macOS (44 percent) and Other (1 percent).
  • For targeting platforms, the ranking was Windows (86 percent), Linux (58 percent), macOS (39 percent) and Other (9 percent).
  • Most respondents didn't use the Windows Subsystem for Linux (WSL) for local development (65 percent).
  • Most respondents were involved in coding/programing activities (93 percent), followed by code reviewing (52 percent), testing (44 percent), deployment (39 percent) and system design (38 percent).
  • Respondents who have immigrated to the United States mostly came from Canada (29 percent), while those emigrating mostly went to Ukraine (29 percent).
  • Median value of annual net (after tax) salary in USD, excluding any bonuses, was $102,000 for U.S. developers, followed by Canada and United Kingdom ($54,000) and Germany ($33,000).

While this report just provided infographics to illustrate data highlights of the big survey, JetBrains said it would publish complete results of the survey data in the future, along with anonymized raw data.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

Subscribe on YouTube