Sobes.tech
Junior — Middle

Is there anything in Python you would like to improve or change?

sobes.tech AI

Answer from AI

There are several aspects in Python that could be improved or changed:

  • Dependency management and virtual environments: although tools like venv and pipenv exist, their integration and ease of use could be improved for simpler and more reliable project management.

  • Static typing: despite the emergence of typing and mypy, static typing in Python is still not mandatory and not always convenient. More strict and built-in typing could enhance code quality.

  • Parallelism and multithreading: due to GIL (Global Interpreter Lock), multithreading in Python is limited. Improving support for true parallelism without needing to use multiprocessing approaches would be beneficial.

  • Execution speed: Python is an interpreted language, and its performance lags behind compiled languages. Optimizing the interpreter or implementing JIT compilation at the standard interpreter level could improve the situation.

  • Standard library: sometimes it would be nice to see more modern or extended tools directly in the standard library, to avoid relying on third-party dependencies.

These changes could make Python even more powerful and user-friendly for developers.

Is there anything in Python you would like to improve… - sobes.tech