Industry Trends & Research

12.16.2021

Is Python swallowing the technical interview?

The Karat Team image

The Karat Team

blog feature image

Python and Java are two of the most frequently used programming languages among professional developers according to the Stack Overflow 2021 developer survey. So it’s no surprise that these are the two most popular coding languages we see during University Recruiting season as tech companies interview thousands of intern and new grad candidates each fall.

In 2021, Python again dominated the University Recruiting landscape increasing by nearly 2 percentage points compared to 2020. Java and C++ also saw modest gains.

Interestingly, while JavaScript is the #1 most popular programming language (68.6% of professional developers use JS, via Stack Overflow), its use in early career interviews remains minimal, with under 2% of intern/new grad candidates using JavaScript for their technical interviews this year.

Chart showing programming language use trends in 2020 and 2021

There are two root causes for Python’s prevalence in technical interviews

The first is a continued curriculum shift towards Python at the university level. As far back as 2014, Python had become the most common programming language taught in introductory programming courses.

This is due to an increased hiring demand for Python, which tends to be a preferred language for AI/ML-focused and cloud-native programmers. This is significant, and as technology initiatives for organizations across virtually every industry surged during the pandemic, accelerating digital transformation and increasing the demand for those skill sets.

The second reason is that the succinct nature of the language lends itself well to timed coding exercises. Candidates who program in Python consistently advance further into the coding section of their interviews. For organizations that value solution completeness, speed becomes a measurable component of the hiring signal, which means that completing more questions improves a candidate’s chances of making it to a final interview loop.

Python code lengths can be 3-4 times shorter than Java and 1-2 times shorter than C++, which lends well to timed coding exercises. Depending on who you ask, this is one of the issues with traditional technical interviews.

For candidates going into technical interviews, we always recommend selecting the language that you’re most comfortable with to build confidence. But one trade-off candidates may consider is code length, and if all things are equal, there’s a considerable benefit to choosing a tool built for speed.

The long-term trend shows a steady increase in Python use over the past five years. In 2017, Java was the most used language with 55.6% of all intern and new grad interviews Karat conducted. Python was the second most common, being used 28.7% of the time.

As Python has become more popular, Java has steadily been used less. C++ and JavaScript have been used at relatively consistent rates, despite a moderate increase in JavaScript usage in 2020.

Line graph showing how Python, Java, C++, JavaScript, Swift, C#, and C have been used in technical interviews rom 2017 to 2021

 

We’ll be interested in watching the trend evolve over time as new technologies, roles, and needs enter the marketplace in the years to come. Let us know what comments or questions you have!

 

Ready to get started?

It’s time to start
hiring with confidence

Request Demo