continue-custom/docs/docs/languages/java.md
2023-11-12 16:08:56 +01:00

3.7 KiB

Java

Java is the #8 most popular language according to the 2023 Stack Overflow Developer Survey.

Benchmarks

✅ Java is one of the 19 languages in the MultiPL-E benchmark

✅ Java is one of the 16 languages in the BabelCode / TP3 benchmark

✅ Java is one of the 13 languages in the MBXP / Multilingual HumanEval benchmark

✅ Java is one of the 5 languages in the HumanEval-X benchmark

Datasets

✅ Java makes up 271.43 GB of The Stack dataset

✅ Java makes up 107.7 GB of the CodeParrot dataset

✅ Java makes up 113.8 GB of the AlphaCode dataset

✅ Java makes up 120.3 GB of the CodeGen dataset

✅ Java makes up 41 GB of the PolyCoder dataset

Stack Overflow & GitHub presence

Java has 1,911,018 tagged questions on Stack Overflow

Java projects have had 3,939,936 PRs on GitHub since 2014

Java projects have had 3,752,951 issues on GitHub since 2014

Java projects have had 14,008,719 pushes on GitHub since 2014

Java projects have had 9,232,281 stars on GitHub since 2014

Anecdotes from developers

u/ByerN

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

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

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.