add top 10
This commit is contained in:
parent
59cbcc2fb0
commit
eceaaeb34b
11 changed files with 492 additions and 2 deletions
48
docs/docs/languages/bash.md
Normal file
48
docs/docs/languages/bash.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# Bash
|
||||
|
||||
Bash is the #7 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
|
||||
|
||||
✅ Bash 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)
|
||||
|
||||
❌ Bash is not 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)
|
||||
|
||||
❌ Bash is not 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)
|
||||
|
||||
❌ Bash is not 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
|
||||
|
||||
✅ Bash makes up 8.69 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ Bash makes up 3.01 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
❌ Bash is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
❌ Bash is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
❌ Bash is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
Bash has 154,693 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
Bash projects have had 866,313 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
Bash projects have had 574,292 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
Bash projects have had 3,605,350 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
Bash projects have had 2,121,149 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/[deleted]](https://www.reddit.com/r/bash/comments/124h7gj/comment/jdzbtvp/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> chatgpt is very bad at bash. Every script that someone has posted here has had some really glaring errors, often data-destructive ones. In general for every single use-case of chatgpt (or any other generative model) unless you understand the correct output you should not trust it. You can use it to produce documents and reports or even scripts, but you should always read the output carefully and validate that what it says is correct.
|
||||
|
||||
[u/RandomXUsr](https://www.reddit.com/r/bash/comments/zix2am/comment/iztmsp3/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I've tried getting it to write some code. Very little is useful. It still very much requires education and experience with the tools you use in order to get effective, clean, and efficient code. I had tried some python scripts, but you need to specify libraries and tools to be used, and it doesn't do that well. As it learns more, it may become better at this, but for now it's a neat toy without real world benefits
|
||||
|
||||
[u/stepbroImstuck_in_SU](https://www.reddit.com/r/bash/comments/123buum/comment/jduund7/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> This is more general advice for using chatGPT for generating bash scripts. chatGPT is a powerful tool, but it has both general and bash/linux related weaknesses. Never run script you don’t understand. That is a hard pill to shallow when learning bash, but thankfully you can ask chatGPT to explain its reasoning. To be sure, open a new conversation and ask for explanation of part of the code there. You can also ask another instance for a general explanation of a new syntax or command, and then cross-check the original code. After seeing what chatGPT knows about an individual command, it doesn’t hurt to quicklycheck the man-page anyway. ChatGPT is prone for using “general” syntax and flags even when some command doesn’t exist. Lastly, commands can change through years and environments. Your man-pages tell you what version you have. It’s a good strategy to ask if any tools already exist for the task or are build in, before asking for a bash script. For example you could script dropping your ssh-key in a remote machines .ssh-dir and then appending it to the trusted-keys file (or in folder) - or you can just use the ssh commands build in add-key option. There are a lot of tools build in to your average linux installation, and your distros repos are full of even more lightweight, trustworthy tools (as long as you stick to the official repos). If you aren’t exactly sure how a script behaves or if the syntax is robust, create your own test environments. You can create virtual (or real) directory structures, quickly fill them with very small files and run the script without touching your actual data. Ask chatGPT for more information (and use above steps to understand what it says). Related to the last point, pay attention to especially these aspects of any script chatGPT spews back: hardcoded paths (or less strictly, any path that isn’t declared as a variable on the start of the script). If instead of a robust test environment, you just use a directory with subdirectories, hardcoded paths can escape that environment, connections outside your machine/local network: While I feel it is unlikely that chatGPT will compromise your system by opening an unsafe connection to unsafe address, the risk is worth mitigating. What if the first guy who got that address noticed it’s not used, and bought it to distribute malware, hoping chatGPT offers it again? But more likely problem is that you can rapidly pull a lot of data from the internet. It just opens up more doors to make a mess, modifying files in /etc, or your bootloader. You can cause all kinds of damage, including permanently disabling rights to modify the files to fix it (misconfigured privileges), making your system unbootable (fstab, grub), and just generally messing up your system. Back it up before any changes, read the man-pages twice, make small tests (and remember you usually need to reload systemd or reboot before changes take effect)
|
||||
48
docs/docs/languages/c#.md
Normal file
48
docs/docs/languages/c#.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# C#
|
||||
|
||||
C# is the #9 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
|
||||
|
||||
✅ C# 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)
|
||||
|
||||
✅ C# 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)
|
||||
|
||||
✅ C# 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)
|
||||
|
||||
❌ C# is not 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
|
||||
|
||||
✅ C# makes up 128.37 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ C# makes up 36.83 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
✅ C# makes up 38.4 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
❌ C# is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
✅ C# makes up 21 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
C# has 1,606,619 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
C# projects have had 1,191,927 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
C# projects have had 1,489,756 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
C# projects have had 4,581,919 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
C# projects have had 2,521,561 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/Slypenslyde](https://www.reddit.com/r/csharp/comments/1768d7o/comment/k4kguvf/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> AI tools give me the code I need maybe 20% to 40% of the time. Another 30% or so I have to tweak it to make it work. For the remaining percentages what it spits out needs so many changes it's easier to write it myself than expect that I tweaked it without mistakes. Sometimes it feels like CoPilot might slow me down since now I tend to hit a new line and wait 2-3 seconds to see what it suggests.
|
||||
|
||||
[u/telewebb](https://www.reddit.com/r/csharp/comments/1768d7o/comment/k4kod5z/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I haven't found any in IDE plug-in that's been all that great. I've used copilot in conjunction with chatGPT and find myself using chatGPT way more than copilot. Keep in mind I use LLMs more as an enhanced search engine than a code writer. For code, I find it helpful to get a second opinion on a refactor, handing over error messages, writing one liners for some logic, and handing over a file to act as a second pair of eyes for what I can't see. Outside of code, I use it as a rubber ducky that can talk back when trying to think through some problems. Though tbh, the act of thinking about my problem and structuring it out to a prompt often solves my problem before I even hit send. Actually, now that I think about it. The damn thing has been a God send for writing and debugging terraform.
|
||||
|
||||
[u/quebecbassman](https://www.reddit.com/r/csharp/comments/1768d7o/comment/k4kgylh/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> Call me old, but I prefer to code things myself. AI is good to give you hints and steer you in the right direction. It can also write a lot of bullshit that looks like legit code. Then, debugging code that you didn't write gets very difficult. Remember that you write code once, but will read it many, many times. Have your boss pay for training.
|
||||
48
docs/docs/languages/c++.md
Normal file
48
docs/docs/languages/c++.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# C++
|
||||
|
||||
C++ is the #10 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
|
||||
|
||||
✅ C++ 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)
|
||||
|
||||
✅ C++ 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)
|
||||
|
||||
✅ C++ 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)
|
||||
|
||||
✅ C++ 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
|
||||
|
||||
✅ C++ makes up 192.84 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ C++ makes up 87.73 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
✅ C++ makes up 290.5 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
✅ C++ makes up 69.9 GB of the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
✅ C++ makes up 52 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
C++ has 801,823 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
C++ projects have had 2,767,540 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
C++ projects have had 2,255,179 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
C++ projects have had 9,245,881 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
C++ projects have had 5,192,579 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/RainbowWarfare](https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3z07sj/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I use ChatGPT for tools and libs where the documentation is horrendous and it’s a coin toss as to whether it confidently talks truth or nonsense. I don’t think it’s a good idea for beginners to be leaning on it as a teaching aid.
|
||||
|
||||
[u/TheBrainStone](https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3z96kd/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> My experience with ChatGPT is that it sucks ass with C++. Anything beyond basic syntax and programming it just gets wrong. My typical interaction is to ask it something specific, then spend the next 3 queries clarifying and then the next few pointing out issues in the code or methodology. I cannot recommend.
|
||||
|
||||
[u/Asleep-Dress-3578](https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3zprne/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I have github copilot enabled in my ide, so whatever it suggests I can either use it or ignore. I find it helpful in writing docstrings and filling out somewhat repetitive rows (e.g. pattern matching cases). But otherwise it is not that clever. I also use chatgpt in some rare cases when I am curious how would chatgpt solve this or that problem. It is good to write some simple, short functions; but it is not reliable enough to write medium to very complex algorithms.
|
||||
48
docs/docs/languages/css.md
Normal file
48
docs/docs/languages/css.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# CSS
|
||||
|
||||
CSS is the #2 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
|
||||
|
||||
❌ CSS is not 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)
|
||||
|
||||
❌ CSS is not 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)
|
||||
|
||||
❌ CSS is not 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)
|
||||
|
||||
❌ CSS is not 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
|
||||
|
||||
✅ CSS makes up 145.33 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ CSS makes up 22.67 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
❌ CSS is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
❌ CSS is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
❌ CSS is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
CSS has 800,588 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
CSS projects have had 443,082 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
CSS projects have had 436,767 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
CSS projects have had 4,314,244 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
CSS projects have had 1,673,966 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/Kthulu666](https://www.reddit.com/r/css/comments/zudl9x/comment/j1ikchb/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I'm not sure how it could help learn. I spent a little while messing with it and trying to generate some html/css/js for a simple responsive hamburger menu. Results were mixed. It got me most of the way there, but had trouble really putting it all together into one menu that worked as intended. I could have spent more time trying to manipulate it, but that would've taken more time that it would have to make the thing by hand. On some level it's just google with extra steps since you need to check and verify everything it outputs. I found that Lucas from LTT had a good assessment of it: it's usually pretty good, but when it's wrong, it's confidently wrong. I think it would be a crappy teaching aid since the student doesn't immediately recognize when the bot is wrong or why the code it produced doesn't work.
|
||||
|
||||
[u/ipromiseimnotakiller](https://www.reddit.com/r/css/comments/17gcln8/comment/k6g1esr/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I use chatgpt daily and it works wonders, if you know what you're reading. Otherwise, if you don't know something as a complete beginner and take chatgpt response as gospel, you're gonna be in a world of hurt when it starts lying to you giving 3 year old outdated information..
|
||||
|
||||
[u/cryothic](https://www.reddit.com/r/css/comments/16owij3/comment/k1tjfqg/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> In that case it's great. And I like ChatGPT too. But a complete beginner doesn't see possible flaws in the solution. So there is the possibility they learn a bad practice. I use ChatGPT too sometimes, but you will need to look at the code. Don't just copy and paste.
|
||||
48
docs/docs/languages/html.md
Normal file
48
docs/docs/languages/html.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# HTML
|
||||
|
||||
HTML is the #2 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
|
||||
|
||||
❌ HTML is not 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)
|
||||
|
||||
❌ HTML is not 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)
|
||||
|
||||
❌ HTML is not 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)
|
||||
|
||||
❌ HTML is not 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
|
||||
|
||||
✅ HTML makes up 746.33 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ HTML makes up 118.12 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
❌ HTML is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
❌ HTML is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
❌ HTML is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
HTML has 1,183,299 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
HTML projects have had 1,140,227 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
HTML projects have had 786,699 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
HTML projects have had 7,284,841 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
HTML projects have had 2,055,453 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/cryothic](https://www.reddit.com/r/css/comments/16owij3/comment/k1tjfqg/)
|
||||
> i actually used chatgpt to some extent but it doesn't help more than giving directions. i could come up with a fairly okay layout with objects and movement with chatgpt but it doesn't do much more than that
|
||||
|
||||
[u/russlo](https://www.reddit.com/r/HTML/comments/11rb46v/comment/jc7yd4f/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> ChatGPT is up to date as of 2021. That means that any information you get from it is already 2 years out of date. For fast moving languages like Golang, JavaScript, TypeScript, Rust, etc., that's too old. I've been able to make use of it because I have questions about setting up servers and how to refactor old Perl code, but other than that it's just not ready for primetime, yet, IMHO.
|
||||
|
||||
[u/steelfrog](https://www.reddit.com/r/HTML/comments/17knwvb/comment/k7943pw/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> One thing about ChatGPT is that it names its IDs and classes very specifically and rarely uses element-level styles. In my experience, it will give an element a class even if it's the only one on the page. I'm not sure if this practice differs based on the version.
|
||||
48
docs/docs/languages/java.md
Normal file
48
docs/docs/languages/java.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# Java
|
||||
|
||||
Java is the #8 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
|
||||
|
||||
✅ Java 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)
|
||||
|
||||
✅ Java 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)
|
||||
|
||||
✅ Java 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)
|
||||
|
||||
✅ Java 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
|
||||
|
||||
✅ Java makes up 271.43 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ Java makes up 107.7 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
✅ Java makes up 113.8 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
✅ Java makes up 120.3 GB of the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
✅ Java makes up 41 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
Java has 1,911,018 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
Java projects have had 3,939,936 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
Java projects have had 3,752,951 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
Java projects have had 14,008,719 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
Java projects have had 9,232,281 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/ByerN](https://www.reddit.com/r/java/comments/163eltc/comment/jy2asuq/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> Anyone who tried to use ChatGPT to solve some real-world programming issues knows, that even if you are able to replace 1-2 juniors with it, you will lose 1 senior to filter out the nonsense it can produce with full confidence. Not worth it. What's worse - I've seen many beginners treating AI as some form of oracle and believing everything it spits out even if it's all false. But AI is a powerful tool and it's worth checking it out and tracking its progress. Who knows what it will look like in a few years?
|
||||
|
||||
[u/benjtay](https://www.reddit.com/r/java/comments/16lu4wb/comment/k14rnx3/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I have to wonder if AI translation is determinate. I use Github Copilot fairly often, and it returns schizophrenic suggestions apparently at random. It also seems stuck in pre Java-8 for syntax (I've never seen it use switch expressions, and it rarely uses streams).
|
||||
|
||||
[u/BarryFruitman](https://www.reddit.com/r/java/comments/176t5vb/comment/k4rwd2t/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I've been using GitHub Copilot with Android Studio for a couple of months. It's actually amazing. It doesn't produce a ton of suggestions, but the ones it does produce are right a lot of the time. Even the wrong ones are often pretty close and only need minor editing. It won't write full classes but it can write short methods or blocks of code. Highly recommend.
|
||||
48
docs/docs/languages/javascript.md
Normal file
48
docs/docs/languages/javascript.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# JavaScript
|
||||
|
||||
JavaScript is the #1 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
|
||||
|
||||
✅ JavaScript 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)
|
||||
|
||||
✅ JavaScript 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)
|
||||
|
||||
✅ JavaScript 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)
|
||||
|
||||
✅ JavaScript 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
|
||||
|
||||
✅ JavaScript makes up 486.2 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ JavaScript makes up 87.82 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
✅ JavaScript makes up 88 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
✅ JavaScript makes up 24.7 GB of the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
✅ JavaScript makes up 22 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
JavaScript has 2,518,260 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
JavaScript projects have had 6,390,411 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
JavaScript projects have had 6,753,636 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
JavaScript projects have had 22,397,798 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
JavaScript projects have had 23,751,668 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/Ok-Hospital-5076](https://www.reddit.com/r/javascript/comments/17o0p9o/comment/k7xhnws/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> ChatGPT for faster and consise search results and thats all .Co Pilot isn't my cup of tea.
|
||||
|
||||
[u/andeee23](https://www.reddit.com/r/javascript/comments/17o0p9o/comment/k7ww57w/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> i use chat gpt occasionally instead of google, it’s ok for some small specific functions but it just saves me 10 minutes here and there. i can definitely imagine my life without it since i often forget it exists
|
||||
|
||||
[u/alphabet_american](https://www.reddit.com/r/javascript/comments/17o0p9o/comment/k7wvdjl/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I use copilot for autocompletion and chatgpt as sort of a "documentation oracle". gpt4 gives "ok" code, but it where it really shines is asking it to explain something or write a simple implementation.
|
||||
|
|
@ -20,10 +20,20 @@ Swift,✅,N/A,✅,N/A,4.65%,21,"331,145","425,921","1,334,455","325,962","2,731,
|
|||
Assembly,N/A,N/A,N/A,N/A,5.43%,20,"43,572","14,301","119,341","10,605","50,063",2.36,0.78,0,0,0,16.2k,https://www.reddit.com/r/asm,"Assembly isn't one language, it's a general term for any human-readable representation of a processor's ISA. There are many assembly languages, and there are even different representations of the same ISA. I'm not sure what your book you're using but there are operand order differences between AT&T and Intel x86 (although your example looks like AT&T). You shouldn't be using ChatGPT for any subject you aren't already familiar with though, or you won't be able to recognize when it's hallucinating, or even when it's simply lacking context. Just use a normal, reputable resource like the book you're following. I recommend checking out this wikibook for free online: https://en.wikibooks.org/wiki/X86_Assembly",u/the_Demongod,https://www.reddit.com/r/asm/comments/14q5qi8/comment/jqlmfvn/?utm_source=share&utm_medium=web2x&context=3,"ChatGPT makes a good attempt, but it doesn't actually understand code — ESPECIALLY assembly language, where each instruction exists in a lot of context — and will usually have some kind of bugs in anything it writes.",u/brucehoult,https://www.reddit.com/r/asm/comments/14q5qi8/comment/jqp8rig/,"Idk why all the chatGPT comments are all downvoted, guys it is inevitable that it is going to be a standard part of our lives now. The sooner students start using it the sooner people will realize its limitations. It is a great learning tool and I use it when learning a new subject.",u/dvof,https://www.reddit.com/r/asm/comments/105vl0v/comment/j3hn8xp/?utm_source=share&utm_medium=web2x&context=3
|
||||
Dart,N/A,✅,N/A,N/A,6.02%,19,"91,732","171,518","230,340","241,706","264,888",Unspecified,0,0,0,0,39.8k,reddit.com/r/dartlang,"The amazing thing about LLMs like ChatGPT is that they develop a kind of ""language sense"" and ""know"" how to stick together the right tokens to achieve a certain goal. They don't ""understand"" Dart - or any other programming language. They just emit tokens that I probably want to see :) Also, we cannot fully comprehend the amount of data that has been processed. Billions and billions of lines of code in dozens if not hundreds of languages.",u/eibaan,https://www.reddit.com/r/dartlang/comments/142fbkc/comment/jnoc1ph/?utm_source=share&utm_medium=web2x&context=3,"Please note that ChatGPT is not sure about anything. It communicates that it knows what it says is true, but it's known to make up facts. Luckily the answer to your question is in the Dart docs. Alternatively StackOverflow has a sensible answer: https://stackoverflow.com/questions/57936263/dart-set-from-vs-set-of",u/Rusty-Swashplate,https://www.reddit.com/r/dartlang/comments/10yiu7d/comment/j7yflw0/?utm_source=share&utm_medium=web2x&context=3,antastic recommendations. I actually did have ChatGPT help me override toString for a ton of these classes nested within classes in this giant object I'm trying to print so I can mock. Didn't think to tweak the toString method like that. Not sure I understand your quoted getter though with the slashes. I'll play around with it Monday though.,u/john2046,https://www.reddit.com/r/dartlang/comments/1390c2j/comment/jj0spnc/?utm_source=share&utm_medium=web2x&context=3
|
||||
Lua,✅,✅,N/A,N/A,6.09%,18,"22,413","139,939","717,566","166,471","366,575",6.58,2.81,2.9,0,0,19.0k,https://www.reddit.com/r/lua/,"First of all, don't use ChatGPT if you want to learn Lua. Refer to the well-written resources such as the ""Programming in Lua"" book instead.",u/appgurueu,https://www.reddit.com/r/lua/comments/11dkwdl/comment/jacqn3z/?utm_source=share&utm_medium=web2x&context=3,Ask chatGPT to convert java / concepts into language to Lua... works surprisingly well,u/gluecat,https://www.reddit.com/r/lua/comments/12wj39f/comment/jhhg8qi/?utm_source=share&utm_medium=web2x&context=3,"Do you not find Copilot frustrating? I cannot stand it, it's the worst thing for me. Whenever I've actually needed help with something, it's either: Gave me absolute garbage code. Missed the point entirely. Maybe I'm just bad at giving it instructions, who knows 😅",u/VitexHD,https://www.reddit.com/r/lua/comments/13tfqs2/comment/jlytud8/
|
||||
Ruby,8,N/A,✅,N/A,6.23%,17,"228,663","2,482,982","5,645,881","1,204,510","2,905,832",23.82,10.95,11.6,0,4.1,81.5k,https://www.reddit.com/r/ruby/,"Note that the failure mode for ChatGPT is that it will gaslight and lie to you. If you don't give it enough context, or the method names are ambiguous, there's a potential for it to make up explanations that sound plausible, but are dangerously incorrect. I'd advise talking to your team about the things that confuse you germane to your codebase, and only using ChatGPT for general Ruby content.",u/throwaway-aso2fb,https://www.reddit.com/r/ruby/comments/16y3bxq/comment/k36os5n/?utm_source=share&utm_medium=web2x&context=3,"Not using copilot for the controversy around it stealing source code. Manager gave me a license however to use tabnine at the moment. In...basic scaffolding code it helps me speed up a bit by generating the blocks for example to write specs quickly, providing about 75% of the structure needed to get the spec fleshed out, e.g faster let declarations and do blocks. But for writing actual code I'm fighting it more than its helping me, since it simply doesn't understand what I am trying to write. Documentation is....hit&miss depending on whether it gets the meaning behind the variable names.",u/OlivarTheLagomorph,https://www.reddit.com/r/ruby/comments/zq847a/comment/j0yy2y8/?utm_source=share&utm_medium=web2x&context=3,"I use Github copilot (which uses openai's codex) and occasionally throw some questions to ChatGPT. Currently I use it for Ruby and Kotlin. I committed to Copilot after trying it for five minutes. Total game changer. Time spent doing grunt work, writing repetitive tests etc, has dropped by 90% and I'm left with a lot more time to implement elegant solutions rather than throwing in quick fixes to meet tight deadlines. Sometimes it almost seems like it can read my mind. You still need to have the experience and expertise to ensure it hasn't missed the point - it doesn't always have the full context of the problems you're working on - but I would wholeheartedly recommend it to any developer as a way to increase productivity.",u/onionionion,https://www.reddit.com/r/ruby/comments/11usmxs/comment/jcqdd8q/?utm_source=share&utm_medium=web2x&context=3
|
||||
Ruby,✅,N/A,✅,N/A,6.23%,17,"228,663","2,482,982","5,645,881","1,204,510","2,905,832",23.82,10.95,11.6,0,4.1,81.5k,https://www.reddit.com/r/ruby/,"Note that the failure mode for ChatGPT is that it will gaslight and lie to you. If you don't give it enough context, or the method names are ambiguous, there's a potential for it to make up explanations that sound plausible, but are dangerously incorrect. I'd advise talking to your team about the things that confuse you germane to your codebase, and only using ChatGPT for general Ruby content.",u/throwaway-aso2fb,https://www.reddit.com/r/ruby/comments/16y3bxq/comment/k36os5n/?utm_source=share&utm_medium=web2x&context=3,"Not using copilot for the controversy around it stealing source code. Manager gave me a license however to use tabnine at the moment. In...basic scaffolding code it helps me speed up a bit by generating the blocks for example to write specs quickly, providing about 75% of the structure needed to get the spec fleshed out, e.g faster let declarations and do blocks. But for writing actual code I'm fighting it more than its helping me, since it simply doesn't understand what I am trying to write. Documentation is....hit&miss depending on whether it gets the meaning behind the variable names.",u/OlivarTheLagomorph,https://www.reddit.com/r/ruby/comments/zq847a/comment/j0yy2y8/?utm_source=share&utm_medium=web2x&context=3,"I use Github copilot (which uses openai's codex) and occasionally throw some questions to ChatGPT. Currently I use it for Ruby and Kotlin. I committed to Copilot after trying it for five minutes. Total game changer. Time spent doing grunt work, writing repetitive tests etc, has dropped by 90% and I'm left with a lot more time to implement elegant solutions rather than throwing in quick fixes to meet tight deadlines. Sometimes it almost seems like it can read my mind. You still need to have the experience and expertise to ensure it hasn't missed the point - it doesn't always have the full context of the problems you're working on - but I would wholeheartedly recommend it to any developer as a way to increase productivity.",u/onionionion,https://www.reddit.com/r/ruby/comments/11usmxs/comment/jcqdd8q/?utm_source=share&utm_medium=web2x&context=3
|
||||
Kotlin,N/A,N/A,✅,N/A,9.06%,16,"92,664","346,824","816,744","174,810","545,403",Unspecified,0,0,0,0,73.8k,reddit.com/r/kotlin,"chatgpt doesn't know that Kotlin can use java libraries, which makes sense since it knows nothing. Chatgpt doesn't know that you target older Android versions with new languages. The reason why there are more java programs for old reasons is just historical and doesn't benefit java in any way. But chatgpt will never understand this since it can't understand anything. Here chatgpt is correct. It's amazing how it can produce a correct answer without having any idea what it's doing.",u/Feztopia,https://www.reddit.com/r/Kotlin/comments/zo6jpo/comment/j0lv16b/?utm_source=share&utm_medium=web2x&context=3,"If you want solid foundation, don't. ChatGPT is known for inventing things and confidently state it as if that's true, if you don't have knowledge to judge its output, you can't fully trust the answer.",u/duongdominhchau,https://www.reddit.com/r/Kotlin/comments/10tzne0/comment/j79pkls/?utm_source=share&utm_medium=web2x&context=3,"Not mentioned yet, but I really believe ChatGPT and Copilot (and whatever is coming down the pike) really reduces the “learning a new language” hump for EVERY language, and definitely for Kotlin. Asking it to do idiomatic Kotlin usually produces quite good results, and asking it how to do a Java thing best in Kotlin definitely does well also. So every new Java developer will be adept at Kotlin even faster than before.",u/LoveSpiritual,https://www.reddit.com/r/Kotlin/comments/14bpuym/comment/jokay83/?utm_source=share&utm_medium=web2x&context=3
|
||||
Rust,✅,✅,N/A,N/A,13.05%,15,"39,147","400,875","947,751","239,196","941,468",40.35,2.68,2.8,0,3.5,256k,https://www.reddit.com/r/rust/,"I think programming is heading the same way as translation - a machine can give you a first draft, but experience is needed to verify and fix the resulting code. In the case of translation, many tools exist that will translate text from one language to another, but the results may be slightly or wholly inaccurate: knowledge of both the source and target languages is needed to verify the result. The same is applies to code generation by GPT. The combination of a human and machine will probably give better results, faster. But unsupervised code generation in a general sense is still a way off.",u/remontantcoprology,https://www.reddit.com/r/rust/comments/zgkuq6/comment/izi6p21/?utm_source=share&utm_medium=web2x&context=3,"The issue is that most of the time the code wont compile or have UB so... It could be blazingly fast to give you text but if need 5 or 10 minutes per try to check is doing what i want i prefer to do the code myself and then i am sure is doing what i want. In other langs like Python maybe but in complex langs like C++ or Rust is not as good because of it complexity, i havent tried but in Rust you cant make a buble sort loop without swap(i, j) and GPT could try the usual aproach of array[i] = array[j] which wont work at all",u/JuanAG,https://www.reddit.com/r/rust/comments/zgkuq6/comment/izhfvi3/?utm_source=share&utm_medium=web2x&context=3,I searched the huggingface hub for some LLM to help Rust coding. But most of them just for python. does anyone knows some LLM for just for Rust. Or how to build one. thanks,u/AbleEstablishment155,https://www.reddit.com/r/rust/comments/16iz3fj/is_there_a_specific_llm_for_rust_coding/?utm_source=share&utm_medium=web2x&context=3
|
||||
Go,✅,✅,✅,✅,13.24%,14,"71,541","2,642,302","4,859,219","1,815,979","7,318,078",118.37,19.28,19.8,21.4,15,224k,https://www.reddit.com/r/golang/,"Personally for me this is the completely wrong approach. Having the ai write it for you and then understand what it wrote is less than optimal. You should use chatgpt to ask questions, not write code if you don’t understand it. Use it as a mentor who can’t be busy to answer your questions. Not as someone who will complete your homework and then maybe you’ll try and understand it afterwards. If a student actually wants to learn a subject, do they get someone to complete their homework? You get what I mean? If your goal is to just complete a project in anyway. Then maybe might work but most likely won’t. You should understand and come up with the logic behind everything you write before letting ai write it for you. Copilot is good for predictable sequences, but most things logic wise it fails as it does not know implementation.",u/vEncrypted,https://www.reddit.com/r/golang/comments/16cs5md/comment/jzl928k/?utm_source=share&utm_medium=web2x&context=3,"ChatGPT (mainly the UI) set a bad example, AI has been way more helpful to me for learning Go than going on Google or reading official docs, but not ChatGPT and rather Forefront, which can use GPT 3.5/4 or their own models but regardless they have a Internet Search function that uses the model to simply summarize dozens of actually real pages it found in a way that is easier for me to understand compared to the original, specially since I can keep chain-asking ""what is this/what is that"", and all from me explaining step-by-step with ""janky"" English and the full code. It also lists the pages it used so I can just click them and check it myself, (spoiler alert) it doesn't make as many mistakes as people think, even without search it does a great job understanding code, it won't usually solve more than basic problems and just keeps giving you different snippets to try but most of the time I end up fixing the issue because of the answers, even if the code doesn't work, I don't know how else to explain it. Of course my first language isn't English but I also learn almost entirely by example and docs don't usually have snippets for every little thing the code can do, it also sounds a bit advanced to me because it's just a lot of text with (programming/Go) terms that I usually don't use.",u/DarkCeptor44,https://www.reddit.com/r/golang/comments/17okcs8/comment/k7zl74p/?utm_source=share&utm_medium=web2x&context=3,"When I ask ChatGPT about it, it suggests model.go, view.go, controller.go etc. but says itself that the MVC concept does not exist in Go. So I'm interested how developer with some more experience than I in desktop apps would struct it.",u/Prestigiouspite,https://www.reddit.com/r/golang/comments/153pahy/comment/jsmdut2/?utm_source=share&utm_medium=web2x&context=3
|
||||
PowerShell,N/A,N/A,N/A,N/A,13.59%,13,"115,393","72,946","276,134","62,960","195,597",3.37,0.69,0,0,0,227k,https://www.reddit.com/r/PowerShell/,"No, as of now LLM is Just another tool in the toolbox. It makes good coders more effective.",u/JesterOfSpades,https://www.reddit.com/r/PowerShell/comments/13h8ak1/comment/jk3o7v7/?utm_source=share&utm_medium=web2x&context=3,"ChatGPT is not a teaching tool. It isn't capable of understanding, so it cannot properly explain what it's doing. Anything it produces is suspect, because it isn't designed to produce working, clean, modern PowerShell code, it's designed to be a chatbot that puts words next to other words weighted by context clues.",u/lanerdofchristian,https://www.reddit.com/r/PowerShell/comments/171h3id/comment/k3s7ren/,I've had a mixed bag with copilot. Sometimes it has given pure gold that I didn't think about but other times it suggests super lazy things like += arrays instead of creating a non-fixed array and adding to it. OH the hands down biggest thing it has helped with is working with pester testing. Still learning about it but copilot has certainly helped a bunch.,u/Eimee_Inkari,https://www.reddit.com/r/PowerShell/comments/14jy6n1/comment/jpq3yg9/?utm_source=share&utm_medium=web2x&context=3
|
||||
PHP,✅,✅,✅,N/A,18.58%,12,"1,462,608","2,550,461","9,196,172","2,286,391","4,036,079",183.19,61.41,64,0,13,162k,https://www.reddit.com/r/PHP/,"I've tried Chat GPT as I've seen some Youtube videos where people act in amazement while saying, ""wow! This s amazing, I just give ChatGPT a class and it gives me all the unit tests for it within seconds! Total game changer!"". Yeah, doesn't work worth a shit, at least not for me. It'd easier to just write the unit tests than refactor what Chat GPT gave me.",u/mdizak,https://www.reddit.com/r/PHP/comments/13l0hgf/comment/jknw4z9/?utm_source=share&utm_medium=web2x&context=3,"I am under the impression that the update frequency of PHP libraries has gone down since ChatGPT was released. My interpretation is, that many companies and developers are looking deeply into the AI stuff. And that is not in favor of PHP so that the attention is moving away from PHP solutions (at least temporarily). Once the AI dust has settled we will see the real impact AI has on the PHP market. Anything else what might be relevant was already posted by other members here, so I won't go there.",u/mission_2525,https://www.reddit.com/r/PHP/comments/16yb0d9/comment/k3t6vwq/,Might not be the answer you're looking for but it probably wouldn't be hard to write your own PHPCS sniff for it. Edit: Here is ChatGPT going over how you'd write a sniff for it. I haven't tested it so you might need to modify it a little bit to get it working.,u/soowhatchathink,https://www.reddit.com/r/PHP/comments/14k6z6i/does_codesnifferecs_have_the_possibility_to/jq43c4z/?context=8&depth=9
|
||||
C,N/A,N/A,N/A,N/A,19.34%,11,"400,941","1,300,955","5,240,188","1,285,709","3,741,913",222.88,183.83,48.9,0,55,147k,https://www.reddit.com/r/C_Programming/,"Hard agree with the last part. ChatGPT & other AI tools can be pretty awful for non-trivial C code. It often spits out things that might work in other syntactically similar C-style, such as using string literals as switch cases, or concatenating string literals with the + operator. It's the worst nightmare for someone who's actively learning to code; it will confidently answer your question incorrectly, while sounding completely reasonable.",u/MyuuDio,https://www.reddit.com/r/C_Programming/comments/17rzzy9/comment/k8mqxv5/,"ChatGPT is failing you twice. First, because it's telling you about a bogus problem. Second, because it is not telling you about a real problem. The bogus problem is the redeclaration issue. It's technically correct that you will get a diagnostic if you try to define the same local variable twice in the same scope. But the solution there is trivial: don't define it, just re-use it. The more pernicious problem is handling or not handling the failure of realloc. When you overwrite the list variable with the result of realloc there is the possibility that the result is NULL. In that case, you have ""lost"" your original pointer.",u/aghast_nj,https://www.reddit.com/r/C_Programming/comments/178cc4l/comment/k4z9cby/?utm_source=share&utm_medium=web2x&context=3,"I've been using copilot for nearly two years now. For me it's just a nice auto complete. I don't think it ever solves anything for me. It just makes me faster, especially with repetitive shit.",u/Meatball_Subzero,https://www.reddit.com/r/C_Programming/comments/16geaal/comment/k078frr/?utm_source=share&utm_medium=web2x&context=3
|
||||
C,N/A,N/A,N/A,N/A,19.34%,11,"400,941","1,300,955","5,240,188","1,285,709","3,741,913",222.88,183.83,48.9,0,55,147k,https://www.reddit.com/r/C_Programming/,"Hard agree with the last part. ChatGPT & other AI tools can be pretty awful for non-trivial C code. It often spits out things that might work in other syntactically similar C-style, such as using string literals as switch cases, or concatenating string literals with the + operator. It's the worst nightmare for someone who's actively learning to code; it will confidently answer your question incorrectly, while sounding completely reasonable.",u/MyuuDio,https://www.reddit.com/r/C_Programming/comments/17rzzy9/comment/k8mqxv5/,"ChatGPT is failing you twice. First, because it's telling you about a bogus problem. Second, because it is not telling you about a real problem. The bogus problem is the redeclaration issue. It's technically correct that you will get a diagnostic if you try to define the same local variable twice in the same scope. But the solution there is trivial: don't define it, just re-use it. The more pernicious problem is handling or not handling the failure of realloc. When you overwrite the list variable with the result of realloc there is the possibility that the result is NULL. In that case, you have ""lost"" your original pointer.",u/aghast_nj,https://www.reddit.com/r/C_Programming/comments/178cc4l/comment/k4z9cby/?utm_source=share&utm_medium=web2x&context=3,"I've been using copilot for nearly two years now. For me it's just a nice auto complete. I don't think it ever solves anything for me. It just makes me faster, especially with repetitive shit.",u/Meatball_Subzero,https://www.reddit.com/r/C_Programming/comments/16geaal/comment/k078frr/?utm_source=share&utm_medium=web2x&context=3
|
||||
C++,✅,✅,✅,✅,22.42%,10,"801,823","2,767,540","9,245,881","2,255,179","5,192,579",192.84,87.73,290.5,69.9,52,260k,https://www.reddit.com/r/cpp/,I use ChatGPT for tools and libs where the documentation is horrendous and it’s a coin toss as to whether it confidently talks truth or nonsense. I don’t think it’s a good idea for beginners to be leaning on it as a teaching aid.,u/RainbowWarfare,https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3z07sj/?utm_source=share&utm_medium=web2x&context=3,"My experience with ChatGPT is that it sucks ass with C++. Anything beyond basic syntax and programming it just gets wrong. My typical interaction is to ask it something specific, then spend the next 3 queries clarifying and then the next few pointing out issues in the code or methodology. I cannot recommend.",u/TheBrainStone,https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3z96kd/?utm_source=share&utm_medium=web2x&context=3,"I have github copilot enabled in my ide, so whatever it suggests I can either use it or ignore. I find it helpful in writing docstrings and filling out somewhat repetitive rows (e.g. pattern matching cases). But otherwise it is not that clever. I also use chatgpt in some rare cases when I am curious how would chatgpt solve this or that problem. It is good to write some simple, short functions; but it is not reliable enough to write medium to very complex algorithms.",u/Asleep-Dress-3578,https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3zprne/?utm_source=share&utm_medium=web2x&context=3
|
||||
C#,✅,✅,✅,N/A,27.62%,9,"1,606,619","1,191,927","4,581,919","1,489,756","2,521,561",128.37,36.83,38.4,0,21,233k,https://www.reddit.com/r/csharp/,AI tools give me the code I need maybe 20% to 40% of the time. Another 30% or so I have to tweak it to make it work. For the remaining percentages what it spits out needs so many changes it's easier to write it myself than expect that I tweaked it without mistakes. Sometimes it feels like CoPilot might slow me down since now I tend to hit a new line and wait 2-3 seconds to see what it suggests.,u/Slypenslyde,https://www.reddit.com/r/csharp/comments/1768d7o/comment/k4kguvf/?utm_source=share&utm_medium=web2x&context=3,"I haven't found any in IDE plug-in that's been all that great. I've used copilot in conjunction with chatGPT and find myself using chatGPT way more than copilot. Keep in mind I use LLMs more as an enhanced search engine than a code writer. For code, I find it helpful to get a second opinion on a refactor, handing over error messages, writing one liners for some logic, and handing over a file to act as a second pair of eyes for what I can't see. Outside of code, I use it as a rubber ducky that can talk back when trying to think through some problems. Though tbh, the act of thinking about my problem and structuring it out to a prompt often solves my problem before I even hit send. Actually, now that I think about it. The damn thing has been a God send for writing and debugging terraform.",u/telewebb,https://www.reddit.com/r/csharp/comments/1768d7o/comment/k4kod5z/?utm_source=share&utm_medium=web2x&context=3,"Call me old, but I prefer to code things myself. AI is good to give you hints and steer you in the right direction. It can also write a lot of bullshit that looks like legit code. Then, debugging code that you didn't write gets very difficult. Remember that you write code once, but will read it many, many times. Have your boss pay for training.",u/quebecbassman,https://www.reddit.com/r/csharp/comments/1768d7o/comment/k4kgylh/?utm_source=share&utm_medium=web2x&context=3
|
||||
Java,✅,✅,✅,✅,30.55%,8,"1,911,018","3,939,936","14,008,719","3,752,951","9,232,281",271.43,107.7,113.8,120.3,41,307k,https://www.reddit.com/r/java/,"Anyone who tried to use ChatGPT to solve some real-world programming issues knows, that even if you are able to replace 1-2 juniors with it, you will lose 1 senior to filter out the nonsense it can produce with full confidence. Not worth it. What's worse - I've seen many beginners treating AI as some form of oracle and believing everything it spits out even if it's all false. But AI is a powerful tool and it's worth checking it out and tracking its progress. Who knows what it will look like in a few years?",u/ByerN,https://www.reddit.com/r/java/comments/163eltc/comment/jy2asuq/?utm_source=share&utm_medium=web2x&context=3,"I have to wonder if AI translation is determinate. I use Github Copilot fairly often, and it returns schizophrenic suggestions apparently at random. It also seems stuck in pre Java-8 for syntax (I've never seen it use switch expressions, and it rarely uses streams).",u/benjtay,https://www.reddit.com/r/java/comments/16lu4wb/comment/k14rnx3/?utm_source=share&utm_medium=web2x&context=3,"I've been using GitHub Copilot with Android Studio for a couple of months. It's actually amazing. It doesn't produce a ton of suggestions, but the ones it does produce are right a lot of the time. Even the wrong ones are often pretty close and only need minor editing. It won't write full classes but it can write short methods or blocks of code. Highly recommend.",u/BarryFruitman,https://www.reddit.com/r/java/comments/176t5vb/comment/k4rwd2t/?utm_source=share&utm_medium=web2x&context=3
|
||||
Bash,✅,N/A,N/A,N/A,32.37%,7,"154,693","866,313","3,605,350","574,292","2,121,149",8.69,3.01,0,0,0,61.7k,https://www.reddit.com/r/bash/,"chatgpt is very bad at bash. Every script that someone has posted here has had some really glaring errors, often data-destructive ones. In general for every single use-case of chatgpt (or any other generative model) unless you understand the correct output you should not trust it. You can use it to produce documents and reports or even scripts, but you should always read the output carefully and validate that what it says is correct.",u/[deleted],https://www.reddit.com/r/bash/comments/124h7gj/comment/jdzbtvp/?utm_source=share&utm_medium=web2x&context=3,"I've tried getting it to write some code. Very little is useful. It still very much requires education and experience with the tools you use in order to get effective, clean, and efficient code. I had tried some python scripts, but you need to specify libraries and tools to be used, and it doesn't do that well. As it learns more, it may become better at this, but for now it's a neat toy without real world benefits",u/RandomXUsr,https://www.reddit.com/r/bash/comments/zix2am/comment/iztmsp3/?utm_source=share&utm_medium=web2x&context=3,"This is more general advice for using chatGPT for generating bash scripts. chatGPT is a powerful tool, but it has both general and bash/linux related weaknesses. Never run script you don’t understand. That is a hard pill to shallow when learning bash, but thankfully you can ask chatGPT to explain its reasoning. To be sure, open a new conversation and ask for explanation of part of the code there. You can also ask another instance for a general explanation of a new syntax or command, and then cross-check the original code. After seeing what chatGPT knows about an individual command, it doesn’t hurt to quicklycheck the man-page anyway. ChatGPT is prone for using “general” syntax and flags even when some command doesn’t exist. Lastly, commands can change through years and environments. Your man-pages tell you what version you have. It’s a good strategy to ask if any tools already exist for the task or are build in, before asking for a bash script. For example you could script dropping your ssh-key in a remote machines .ssh-dir and then appending it to the trusted-keys file (or in folder) - or you can just use the ssh commands build in add-key option. There are a lot of tools build in to your average linux installation, and your distros repos are full of even more lightweight, trustworthy tools (as long as you stick to the official repos). If you aren’t exactly sure how a script behaves or if the syntax is robust, create your own test environments. You can create virtual (or real) directory structures, quickly fill them with very small files and run the script without touching your actual data. Ask chatGPT for more information (and use above steps to understand what it says). Related to the last point, pay attention to especially these aspects of any script chatGPT spews back: hardcoded paths (or less strictly, any path that isn’t declared as a variable on the start of the script). If instead of a robust test environment, you just use a directory with subdirectories, hardcoded paths can escape that environment, connections outside your machine/local network: While I feel it is unlikely that chatGPT will compromise your system by opening an unsafe connection to unsafe address, the risk is worth mitigating. What if the first guy who got that address noticed it’s not used, and bought it to distribute malware, hoping chatGPT offers it again? But more likely problem is that you can rapidly pull a lot of data from the internet. It just opens up more doors to make a mess, modifying files in /etc, or your bootloader. You can cause all kinds of damage, including permanently disabling rights to modify the files to fix it (misconfigured privileges), making your system unbootable (fstab, grub), and just generally messing up your system. Back it up before any changes, read the man-pages twice, make small tests (and remember you usually need to reload systemd or reboot before changes take effect)",u/stepbroImstuck_in_SU,https://www.reddit.com/r/bash/comments/123buum/comment/jduund7/?utm_source=share&utm_medium=web2x&context=3
|
||||
TypeScript,✅,✅,✅,N/A,38.87%,6,"224,865","2,043,216","4,224,408","1,455,167","2,941,085",131.46,24.59,24.9,0,9.2,115k,https://www.reddit.com/r/typescript/,"ChatGPT is great for common knowledge, but it just bullshits for more esoteric stuff. Case in point: & {}: This basically ""seals"" the type, making it impossible to add new properties to it. This is just pure nonsense as near as I can tell. A big red flag is how vague it is. What does ""seals the type"" mean? For that matter, what does it mean to ""add new properties"" to a type? I messed around with it a bit in a TypeScript Playground and I can find no behavior that remotely corresponds to this explanation from ChatGPT.",u/delventhalz,https://www.reddit.com/r/typescript/comments/17i01kj/comment/k6tvg8v/?utm_source=share&utm_medium=web2x&context=3,As someone also somewhat new to typescript but very comfortable with javascript I know what you're going through. Something I've found to be super useful is asking chatGPT questions when something doesn't make sense to me. It usually provides a correct type and allows me to move on with what I'm trying to do instead of banging my head against the wall for 20 minutes.,u/k3l2m1t,https://www.reddit.com/r/typescript/comments/13h0n0h/comment/jk2yehs/?utm_source=share&utm_medium=web2x&context=3,I don't think copilot supports typescript more than any other language. It often gives me incorrect suggestions when it comes to typescript. Probably the only reason I might end up dropping it actually. .,u/thinkmatt,https://www.reddit.com/r/typescript/comments/pzmlvt/comment/hf4khk4/?utm_source=share&utm_medium=web2x&context=3
|
||||
SQL,N/A,N/A,N/A,N/A,48.66%,5,"667,216",123,1170,0,0,18.15,5.67,0,0,0,162k,https://www.reddit.com/r/SQL,"I've used ChatGPT Plus, basically the paid version using GPT-4, and while it has helped suggest some new ways of querying stuff that I hadn't considered, it also just completely made things up. Even when I asked to clarify, like ""are you sure that function actually exists?"" it would apologize and then say the exact same wrong thing lol. There's no real bullshit filter for these LLMs.",u/paymesucka,https://www.reddit.com/r/SQL/comments/14e04k3/comment/josxeg3/?utm_source=share&utm_medium=web2x&context=3,"I'm a DBA, 15 years. Chatgpt and other AIs are great up to about the skill level of a intern you'd hire as a jr. After that level of task... it takes more time and effort to vet it's output than it saves. I don't think it's a good tool for those learning, as they won't ever develop the skill to spot when and where the AI is wrong. I think there will be a wall of skill that will be impossible to climb for those who use it rather than working through problems on their own first. If you have the discipline to work the problem yourself and only use it if really stuck or to try an alternative, then it can be a nice assistant, like a personal intern that occasionally lies and tries to set you up for failure.",u/Festernd,https://www.reddit.com/r/SQL/comments/127zawr/comment/jeia6hv/?utm_source=share&utm_medium=web2x&context=3,"Mostly to debug, but I change the table names for privacy reasons. Once in a while I'll ask it to write code from my plain English when I'm trying to solve a problem. I'll give it my broken code or some context first.",u/feigndeaf,https://www.reddit.com/r/SQL/comments/12oo0lm/comment/jgj204k/?utm_source=share&utm_medium=web2x&context=3
|
||||
Python,✅,✅,✅,✅,49.28%,4,"2,174,258","6,058,516","17,546,799","4,367,863","11,547,682",190.73,52.03,11.6,55.9,16,1.2m,https://www.reddit.com/r/Python/,"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/Feb2020Acc,https://www.reddit.com/r/Python/comments/10ytgkk/comment/j806l89/?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/bamacgabhann,https://www.reddit.com/r/Python/comments/12wsx2g/comment/jhgagc7/?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.",u/marr75,https://www.reddit.com/r/Python/comments/15r05mq/comment/jw5yilu/?utm_source=share&utm_medium=web2x&context=3
|
||||
CSS,N/A,N/A,N/A,N/A,52.97%,2,"800,588","443,082","4,314,244","436,767","1,673,966",145.33,22.67,0,0,0,115k,https://www.reddit.com/r/css,"I'm not sure how it could help learn. I spent a little while messing with it and trying to generate some html/css/js for a simple responsive hamburger menu. Results were mixed. It got me most of the way there, but had trouble really putting it all together into one menu that worked as intended. I could have spent more time trying to manipulate it, but that would've taken more time that it would have to make the thing by hand. On some level it's just google with extra steps since you need to check and verify everything it outputs. I found that Lucas from LTT had a good assessment of it: it's usually pretty good, but when it's wrong, it's confidently wrong. I think it would be a crappy teaching aid since the student doesn't immediately recognize when the bot is wrong or why the code it produced doesn't work.",u/Kthulu666,https://www.reddit.com/r/css/comments/zudl9x/comment/j1ikchb/?utm_source=share&utm_medium=web2x&context=3,"I use chatgpt daily and it works wonders, if you know what you're reading. Otherwise, if you don't know something as a complete beginner and take chatgpt response as gospel, you're gonna be in a world of hurt when it starts lying to you giving 3 year old outdated information..",u/ipromiseimnotakiller,https://www.reddit.com/r/css/comments/17gcln8/comment/k6g1esr/?utm_source=share&utm_medium=web2x&context=3,"In that case it's great. And I like ChatGPT too. But a complete beginner doesn't see possible flaws in the solution. So there is the possibility they learn a bad practice. I use ChatGPT too sometimes, but you will need to look at the code. Don't just copy and paste.",u/cryothic,https://www.reddit.com/r/css/comments/16owij3/comment/k1tjfqg/?utm_source=share&utm_medium=web2x&context=3
|
||||
HTML,N/A,N/A,N/A,N/A,52.97%,2,"1,183,299","1,140,227","7,284,841","786,699","2,055,453",746.33,118.12,0,0,0,46.5k,https://www.reddit.com/r/HTML/,i actually used chatgpt to some extent but it doesn't help more than giving directions. i could come up with a fairly okay layout with objects and movement with chatgpt but it doesn't do much more than that,u/cryothic,https://www.reddit.com/r/css/comments/16owij3/comment/k1tjfqg/,"ChatGPT is up to date as of 2021. That means that any information you get from it is already 2 years out of date. For fast moving languages like Golang, JavaScript, TypeScript, Rust, etc., that's too old. I've been able to make use of it because I have questions about setting up servers and how to refactor old Perl code, but other than that it's just not ready for primetime, yet, IMHO.",u/russlo,https://www.reddit.com/r/HTML/comments/11rb46v/comment/jc7yd4f/?utm_source=share&utm_medium=web2x&context=3,"One thing about ChatGPT is that it names its IDs and classes very specifically and rarely uses element-level styles. In my experience, it will give an element a class even if it's the only one on the page. I'm not sure if this practice differs based on the version.",u/steelfrog,https://www.reddit.com/r/HTML/comments/17knwvb/comment/k7943pw/?utm_source=share&utm_medium=web2x&context=3
|
||||
JavaScript,✅,✅,✅,✅,63.61%,1,"2,518,260","6,390,411","22,397,798","6,753,636","23,751,668",486.2,87.82,88,24.7,22,2.4m,https://www.reddit.com/r/javascript/,ChatGPT for faster and consise search results and thats all .Co Pilot isn't my cup of tea.,u/Ok-Hospital-5076,https://www.reddit.com/r/javascript/comments/17o0p9o/comment/k7xhnws/?utm_source=share&utm_medium=web2x&context=3,"i use chat gpt occasionally instead of google, it’s ok for some small specific functions but it just saves me 10 minutes here and there. i can definitely imagine my life without it since i often forget it exists",u/andeee23,https://www.reddit.com/r/javascript/comments/17o0p9o/comment/k7ww57w/?utm_source=share&utm_medium=web2x&context=3,"I use copilot for autocompletion and chatgpt as sort of a ""documentation oracle"". gpt4 gives ""ok"" code, but it where it really shines is asking it to explain something or write a simple implementation.",u/alphabet_american,https://www.reddit.com/r/javascript/comments/17o0p9o/comment/k7wvdjl/?utm_source=share&utm_medium=web2x&context=3
|
||||
|
48
docs/docs/languages/python.md
Normal file
48
docs/docs/languages/python.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# 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.
|
||||
48
docs/docs/languages/sql.md
Normal file
48
docs/docs/languages/sql.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# SQL
|
||||
|
||||
SQL is the #5 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
|
||||
|
||||
❌ SQL is not 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)
|
||||
|
||||
❌ SQL is not 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)
|
||||
|
||||
❌ SQL is not 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)
|
||||
|
||||
❌ SQL is not 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
|
||||
|
||||
✅ SQL makes up 18.15 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ SQL makes up 5.67 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
❌ SQL is not included in the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
❌ SQL is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
❌ SQL is not included in the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
SQL has 667,216 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
SQL projects have had 123 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
SQL projects have had 0 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
SQL projects have had 1170 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
SQL projects have had 0 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/paymesucka](https://www.reddit.com/r/SQL/comments/14e04k3/comment/josxeg3/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I've used ChatGPT Plus, basically the paid version using GPT-4, and while it has helped suggest some new ways of querying stuff that I hadn't considered, it also just completely made things up. Even when I asked to clarify, like "are you sure that function actually exists?" it would apologize and then say the exact same wrong thing lol. There's no real bullshit filter for these LLMs.
|
||||
|
||||
[u/Festernd](https://www.reddit.com/r/SQL/comments/127zawr/comment/jeia6hv/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I'm a DBA, 15 years. Chatgpt and other AIs are great up to about the skill level of a intern you'd hire as a jr. After that level of task... it takes more time and effort to vet it's output than it saves. I don't think it's a good tool for those learning, as they won't ever develop the skill to spot when and where the AI is wrong. I think there will be a wall of skill that will be impossible to climb for those who use it rather than working through problems on their own first. If you have the discipline to work the problem yourself and only use it if really stuck or to try an alternative, then it can be a nice assistant, like a personal intern that occasionally lies and tries to set you up for failure.
|
||||
|
||||
[u/feigndeaf](https://www.reddit.com/r/SQL/comments/12oo0lm/comment/jgj204k/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> Mostly to debug, but I change the table names for privacy reasons. Once in a while I'll ask it to write code from my plain English when I'm trying to solve a problem. I'll give it my broken code or some context first.
|
||||
48
docs/docs/languages/typescript.md
Normal file
48
docs/docs/languages/typescript.md
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# TypeScript
|
||||
|
||||
TypeScript is the #6 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
|
||||
|
||||
✅ TypeScript 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)
|
||||
|
||||
✅ TypeScript 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)
|
||||
|
||||
✅ TypeScript 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)
|
||||
|
||||
❌ TypeScript is not 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
|
||||
|
||||
✅ TypeScript makes up 131.46 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||||
|
||||
✅ TypeScript makes up 24.59 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||||
|
||||
✅ TypeScript makes up 24.9 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||||
|
||||
❌ TypeScript is not included in the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||||
|
||||
✅ TypeScript makes up 9.2 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||||
|
||||
## Stack Overflow & GitHub presence
|
||||
|
||||
TypeScript has 224,865 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||||
|
||||
TypeScript projects have had 2,043,216 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||||
|
||||
TypeScript projects have had 1,455,167 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||||
|
||||
TypeScript projects have had 4,224,408 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||||
|
||||
TypeScript projects have had 2,941,085 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||||
|
||||
## Anecdotes from developers
|
||||
|
||||
[u/delventhalz](https://www.reddit.com/r/typescript/comments/17i01kj/comment/k6tvg8v/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> ChatGPT is great for common knowledge, but it just bullshits for more esoteric stuff. Case in point: & {}: This basically "seals" the type, making it impossible to add new properties to it. This is just pure nonsense as near as I can tell. A big red flag is how vague it is. What does "seals the type" mean? For that matter, what does it mean to "add new properties" to a type? I messed around with it a bit in a TypeScript Playground and I can find no behavior that remotely corresponds to this explanation from ChatGPT.
|
||||
|
||||
[u/k3l2m1t](https://www.reddit.com/r/typescript/comments/13h0n0h/comment/jk2yehs/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> As someone also somewhat new to typescript but very comfortable with javascript I know what you're going through. Something I've found to be super useful is asking chatGPT questions when something doesn't make sense to me. It usually provides a correct type and allows me to move on with what I'm trying to do instead of banging my head against the wall for 20 minutes.
|
||||
|
||||
[u/thinkmatt](https://www.reddit.com/r/typescript/comments/pzmlvt/comment/hf4khk4/?utm_source=share&utm_medium=web2x&context=3)
|
||||
> I don't think copilot supports typescript more than any other language. It often gives me incorrect suggestions when it comes to typescript. Probably the only reason I might end up dropping it actually. .
|
||||
Loading…
Add table
Reference in a new issue