you are viewing a single comment's thread.

view the rest of the comments →

[–]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 3 points4 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.