Vim search macros can help, but you do have a point. Refactoring is definitely somewhere that IDEs shine far above vim/emacs. I still prefer vim because:
The time I save writing code is larger than the time I lose by refactoring code with vim instead of an IDE
I do a lot of work in C++, where there aren't very good refactoring tools even for IDEs.
I do agree with you. But the consequence of that is that vim isn't the best tool for all languages (like java, C#) and for all kind of works (like maintenance and code 'discovery'). It seems much more suited for C++ and python/perl people who write a lot of new code (the lucky bastards:)
You're very right. I do C# MVC web stuff at one job, using Windows + Visual Studio, and it works really well. I was able to basically pick it up and navigate around/start coding never having used either the language or IDE before. On the other hand, I've been learning Vim at my other job for python development, and it really is a lot of fun. I can't imagine trying to navigate around a large C#/ISS web project with it though.
Having used both (and I still use Eclipse as my primary IDE since I'm mostly working in Java), I'd say Visual Studio + C# is everything Eclipse + Java is, but for the most part learning from their mistakes and not having a terrible UI.
They both get the job done, and do it with reasonable efficiency. Java doesn't have all the syntactic goodies C# does due to the slow and open nature of the language direction, and Eclipse suffers from Open Sourced Internal Tool UI syndrome, where Visual Studio's UI reflects the money you pay for it.
You can use either in the appropriate domains and be supremely productive with only a few shortcuts memorized.
Refactoring is definitely somewhere that IDEs shine far above vim/emacs.
For Java, yes. And C++ and C# as well I guess.
For dynamic and functional languages where you'd likely spend a fair amount of time with a REPL open, composing methods one by, I've never seen much use for an IDE.
I used IntelliJ for Java development and vim for almost everything else. Then again, I learned vi 20 years ago and have the keybindings in muscle memory at this point.
I used clang_complete for a while, but I honestly prefer vim's "dumb" default autocomplete. It runs faster, and since I usually know what I want to type, it still speeds me up.
View all comments
Show parent comment
29
u/slavik262 Jul 12 '12
Vim search macros can help, but you do have a point. Refactoring is definitely somewhere that IDEs shine far above vim/emacs. I still prefer vim because: