Python bumps off Java as top learning language in US

Eight out of the top 10 US universities now use Python to introduce programming, a researcher has found

Top top programming languages used for U.S. computer science introductory classes

Top top programming languages used for U.S. computer science introductory classes

Python has surpassed Java as the top language used to introduce U.S. students to programming and computer science, according to a recent survey posted by the Association for Computing Machinery (ACM).

Eight of the top 10 computer science departments now use Python to teach coding, as well as 27 of the top 39 schools, indicating that it is the most popular language for teaching introductory computer science courses, according to Philip Guo, a computer science researcher who compiled the survey for ACM.

The three largest, most popular online class providers -- Coursera, edX and Udacity -- also offer introductory programming courses in Python, Guo found.

Python has been growing in popularity in the educational realm for at least the past few years, though this survey is the first to show it has eclipsed Java, which has been the dominant teaching language for the past decade, Guo said in a blog post about his survey.

Guo admitted that he is a Python enthusiast -- he has developed a popular tool, called Online Python Tutor, to teach programming.

Sensing the rise of Python's popularity as a teaching aid, Guo surveyed introductory computer science courses at the top 39 U.S. universities, as ranked each year by U.S. News and World Report.

Java is frequently used in high school advanced courses, so the transition to Java in college is a natural one for students. A number of universities, however, have switched to Python from Java, and others offer both -- Java for computer science students and Python to teach programming skills for noncomputer science majors.

In order to prepare students for the working world, most schools use a language for novices that is widely used in industry. This is how C++ and Java came to supplant Pascal, a popular language for teaching programming in the 1980s.

Python possesses a mix of qualities that makes it a good candidate for universities. It has a simpler syntax than Java or C++, allowing novices to start writing programs almost immediately. At the same time, it can be scaled up for heavy industrial usage -- it is widely used in the financial community for data analysis, for instance.

Although informal, such a survey can be valuable, in that the language used to teach computer science can influence how students will come to view programming in their professional years, Guo said. Surveying the top universities can also reveal broader trends in education.

Other popular languages for teaching include MatLab, a mathematically oriented language often used to introduce scientists and engineers to programming. MatLab, however, seems to be increasingly supplanted by Java. Older, and arguably more-difficult-to-learn, languages such as C and C++ are still used as well, though increasingly they are being taught alongside Java and Python.

Also seemingly ebbing in influence are functional programming languages based on Scheme, which have long held sway at a small but ardent number of computer science departments. Schools such as the Massachusetts Institute of Technology and University of California, Berkeley, however, have phased out Scheme in favor of Python.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the PC World newsletter!

Error: Please check your email address.

Tags Development toolsapplication developmentLanguages and standardssoftwareAssociation of Computing Machinery

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Essentials

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

GGG Evaluation Team

Michael Hargreaves

Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?