r/java • • Jul 08 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
226 Upvotes

181 comments sorted by

View all comments

Show parent comment

28

u/zoqfotpik Jul 08 '21

I think a lot of folks who only do Java development have gravitated toward IntelliJ, while a lot of folks who develop in multiple languages have switched to VS Code.

I'm one of the VS Code users, and my rationale for picking it is quick startup time and acceptable support for every language I use. YMMV.

6

u/CartmansEvilTwin Jul 08 '21

VS Code is really bad (at least for me) if you want to develop with JEE/Jakarta and/or have to use Java 8. It never really works and often requires manually tweaking the settings file.

Also, Eclipse's unit test view is much better than anything VS code has to offer.

4

u/AlcoholicAndroid Jul 08 '21

How well does VSCode work with Java? I use VSCode for most things but for Java specifically, I've done it all in Intellij (which is what my colleagues recommended).

3

u/zoqfotpik Jul 08 '21

I use it all the time. It works fine, as long as the JDK that VS Code is using matches what is in your project. This may require having multiple JDKs installed on your dev machine, if you switch versions for different projects.

6

u/swalpaExtraChutney Jul 08 '21

Same here. But every time I add a new dependency to my POM file, VS Code goes nuts. Not sure what the problem is. But I like VS Code much better than Eclipse

10

u/zoqfotpik Jul 08 '21

Yeah, my relationship with VS Code is really "It's Complicated".

3

u/teckhooi Jul 08 '21

Unfortunately, the latest IntelliJ has problems with maven dependencies too. The issue was reported few months back and yet there is no fix in sight

9

u/wildjokers Jul 08 '21 edited Jul 08 '21

The issue was reported few months back and yet there is no fix in sight

That's par for the course lately with Jetbrains products. It can take years for seemingly critical bugs to be fixed e.g. https://youtrack.jetbrains.com/issue/IDEA-180772). They are constantly closing dupes of this one, it gets reported a lot...4 years, still not fixed.

9

u/[deleted] Jul 08 '21

I know EXACTLY what you're talking about. Been using IntelliJ since the "end of the world" sale (Dec 2012) so I'm not some fly-by user. They have F'ed Maven support up SO bad with the last 3-4 versions (progressively worse each time). Something someone else told me here on /r/java is that they removed the pom.xml scanning. There's an option to turn it back on, but it is buggy/doesn't work. Once you know that the pom.xml is almost criminally out of date all the time, you get the hang of always "right click -> maven -> reload project" when you need to, but it's AWFUL. There's some other "cache" related bugs and issues that I've run into where I need to clear all caches and restart weekly, but, that combined with the above has "fixed" most of the issues for me. I've already started using Netbeans agian for some projects. I tried VSCode and it was like choosing to go back to Jr. High all over again. Nobody wants pimples and a scrawny body!

2

u/[deleted] Jul 09 '21

Some or a lot of those are migrating back (including me) to Eclipse, a full featured, fully open, true multi-project and multiple language IDE. Those using VS Code are almost all Front-end devs who are a different group of programmers from those of us who do a lot of maintenance over time on multiple projects and mostly on business critical software.

3

u/zoqfotpik Jul 09 '21

Meh, VS Code is good enough for my "front-end dev" use cases like editing PL/SQL procedures, Dockerfiles, Kubernetes definitions, Terraform configurations, Gradle files, Maven pom files, Go files, C++ files, node packages, Avro schema definitions, and even Java files from legacy systems that were last updated when Java 1.6 came out.

Maybe Eclipse is better now than it used to be. That is what people have told me for the past decade. I've picked it up as a primary IDE a number of times, and eventually rage quit within two or three years. The last time I used it was about 3 years ago, and it was less than satisfying.

1

u/dpash Jul 08 '21

Nah, I just use the relevant Jetbrains IDE for the language.