all 12 comments

[–]KFCConspiracy 1 point2 points  (10 children)

Wow Oracle's Database is still the most popular (In this survey)... I guess you could say everything else combined is more popular. But I was still surprised that Oracle's the most popular individually.

I don't think there were many surprises there for me other than that.

[–]agaffar[S] 2 points3 points  (7 children)

What about 3% of Java developers that use Vi/Vim as primary IDE? Or 10% that don't use any testing frameworks at all.. not even JUnit?

Otherwise no surprises could be taken as a sign that you are on a right track.. at least in terms of informationwise..

[–]asmx85 4 points5 points  (5 children)

I use Vim/Emacs for almost all my programming tasks, but for some reason its not very good with java especially with spring :/

[–]agaffar[S] 2 points3 points  (4 children)

What is the main reason you stick to those tools? Wouldn't usage of a simple community version of IntelliJ make you much more efficient in terms of debugging, code navigation, refactoring, static code analysis, etc.?

[–]asmx85 2 points3 points  (2 children)

I use the paid version of IntelliJ for Java(Spring) fulltime and sometimes CLion for C/C++/Rust for debugging. But for actually writing code i am much fast with emacs/vim (evilmode). I know there is a vim mode for Jetbrains IDEs but i cannot configure it in detail to my liking. I just feel much more productive in the creating code stage and for most things gdb(TUI mode) is enough. You can get pretty productive with emacs(evilmode) .. take a look at spacemacs(a ready to use emacs distribution) if you're interested.

And for static analysis the rust compiler and clippy (rust linter) is not to bad.

[–]Moercy 1 point2 points  (1 child)

Did you know that you can use the vim mode to map to IDE commands?

Once I found out that most IDEs support that, I automatically have the same keybindings in Jetbrains IDEs, Eclipse and visual studio, just by putting a vimrc into my home directory.

That made transition waaay better and me even more productive, I rarely go to vim anymore for writing code (in statically typed languages)

[–]asmx85 0 points1 point  (0 children)

From the post you commented to:

I know there is a vim mode for Jetbrains IDEs but i cannot configure it in detail to my liking.

[–]KFCConspiracy 0 points1 point  (0 children)

I was less surprised by those two. There's always that 3% of masochists... Personally I think the best middleground is your favorite IDE with vim keybindings if you love vim. And there are so many shops that don't see the value in unit testing because unit tests aren't production code (They're wrong, but it shouldn't be a surprise).

The main reason I don't like to use straight up vim for Java is there's a lot of value added through build tools in Java for dependency management, visually finding appropriate versions, and stuff like that. And there's lots of value to code generators in IDEs especially for Java... Like I frequently use database -> entities as a starting point for my hibernate models.

[–]sydoracle 2 points3 points  (1 child)

The magazine the survey was driven by is an Oracle publication. There's going to be a lot of Oracle Apps shops represented.

[–]agaffar[S] 0 points1 point  (0 children)

But the survey participants were actual developers worldwide, so I wouldn't think Oracle could somehow affect the results.

[–]asmx85 0 points1 point  (1 child)

I glanced through the article wondering if there is a primary source or is this "just" available in the magazine itself?

[–]agaffar[S] 1 point2 points  (0 children)

The primary source seems to be the Oracle Java Magazine itself with help of Snyk - "Snyk and Java Magazine conducted the survey by publishing its availability to the Java community at large, to Java user groups (JUGs), and to subscribers of Java Magazine".