48 lines
No EOL
4 KiB
Markdown
48 lines
No EOL
4 KiB
Markdown
# Python
|
|
|
|
Python is the #4 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages).
|
|
|
|
## Benchmarks
|
|
|
|
✅ Python is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern)
|
|
|
|
✅ Python is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google)
|
|
|
|
✅ Python is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval)
|
|
|
|
✅ Python is one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua)
|
|
|
|
## Datasets
|
|
|
|
✅ Python makes up 190.73 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
|
|
|
✅ Python makes up 52.03 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
|
|
|
✅ Python makes up 11.6 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
|
|
|
✅ Python makes up 55.9 GB of the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
|
|
|
✅ Python makes up 16 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
|
|
|
## Stack Overflow & GitHub presence
|
|
|
|
Python has 2,174,258 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
|
|
|
Python projects have had 6,058,516 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
|
|
|
Python projects have had 4,367,863 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
|
|
|
Python projects have had 17,546,799 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
|
|
|
Python projects have had 11,547,682 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
|
|
|
## Anecdotes from developers
|
|
|
|
[u/Feb2020Acc](https://www.reddit.com/r/Python/comments/10ytgkk/comment/j806l89/?utm_source=share&utm_medium=web2x&context=3)
|
|
> ChatGPT will make some programmers obsolete. Not because it can program better than them, but because one competent programmer that masters ChatGPT will be able to do the job of 2-3 of his colleagues in the same amount of time.
|
|
|
|
[u/bamacgabhann](https://www.reddit.com/r/Python/comments/12wsx2g/comment/jhgagc7/?utm_source=share&utm_medium=web2x&context=3)
|
|
> I've used it for ideas. Ask it for code for something I'm writing just to see what it suggests. But I don't just copy/paste the code into my project. The first rule of using ChatGPT for coding is, you should only be using ChatGPT for coding if you don't actually need to use ChatGPT for coding. Like, it's good for ideas because it's basically trained on Stackoverflow and the docs, and it's impossible to have heard of or remember every package, module, and function. But if you don't understand what it gives you and you just paste it in, you're not learning anything and are leaving yourself open to big problems.
|
|
|
|
[u/marr75](https://www.reddit.com/r/Python/comments/15r05mq/comment/jw5yilu/?utm_source=share&utm_medium=web2x&context=3)
|
|
> I had this exact same crisis of faith in Python about a year ago. The thing that really annoyed me was how much more effortful it was to create some of the features typed languages (especially C# with great interface support) had with a weaker guarantee. AI has fundamentally changed that for me. The SOTA LLMs can code best in python, can create type hints, documentation, and basic assertions/tests nearly free, and the localized hints about type give the AI great hints on how to code. If you accept AI as "augmented intelligence" then coding with python can be a very productive experience in 2023. |