Paul Krill
Editor at Large

Python developers want static typing

news
Feb 25, 20212 mins

The most-wanted features by Python developers are static typing and strict type hinting, closely followed by performance improvements, Python Software Foundation survey results reveal.

television static 135724968
Credit: Thinkstock

Python developers cite simplicity and ease of use as principal reasons for using the language, but they still want capabilities such as static typing and performance improvements, based on survey results released this week.

Python’s simple syntax, syntactic sugar, and ease of learning were the most-favored features, capturing 37% of respondents, who were asked which three features they liked the most. Developers were polled in October 2020 as part of the annual Python Developers Survey. Being a high-level language with code that is easy to write and easy to read came second, with 30% of respondents citing these as their favorite three features.

Which three features would Python developers most like to see added to the language? Static typing and strict type hinting proved to be the most-desired features, with 21% of respondents, closely followed by performance improvements, with 20%. Better concurrency and parallelism came in third, with 15% saying they were their most-desired capabilities.

Published February 23, the survey conducted by the Python Software Foundation and JetBrains tallied more than 28,000 responses from Python developers and enthusiasts from nearly 200 countries and regions. The 2020 survey marked the fourth year of the annual survey.

Other findings of the Python Developers Survey 2020 include:

  • 85% of respondents use Python as their main programming language.
  • Popular uses of Python include data analysis, web development, and machine learning.
  • JavaScript was the most popular language used in conjunction with Python, with about 42% of respondents using both together. 75% of web developers said they were using both Python and JavaScript.
  • Just 8% of Python developers performing data-related tasks do not use any additional languages while only 3% of web developers use only Python.
  • Only 32% of Python developers involved in data analysis and machine learning consider themselves to be data scientists.
  • Use of Python 3 has grown from 75% in 2017 to 94% in 2020.
  • Favored web frameworks included Flask, Django, and FastAPI.
  • The top data science frameworks and libraries used by respondents were NumPy, Pandas, and Matplotlib.
  • The top operating systems used were Linux, Windows, and MacOS.
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author