Being able to do more complex text manipulations without thinking about them lets you do more without breaking your train of thought. Faster in this case is the same thing as easier.
What complex text manipulation do you do on a regular basis?
I spend 90% if my time thinking, and 10% typing (at a guess) - why would I optimise that 10% - and of that 10% how much is complex text manipulation? Refactoring code should be done with semantics in mind, so text manipulation is out in that case.
but the willingness to try out new stuff does. A good thing about learning editors like Vim is that in the process you figure out what tools work for you and which don't, you customize things to your liking and make your work environment your own. It might not even give you any objective advantage in the end, but experimenting instead of just going with the most convenient solution is part of what makes someone a good programmer.
I like the concept of vim and its possibilities, but i do not have enough experience with it to love it. It's a harsh learning curve as you have to find your ideal setup
I can't agree with this more. I've been using Vim for nigh on 18 years and wouldn't be without it except in one situation: Java development. The directory structure alone makes navigating the code a hassle without etags/ctags configured. It's just that IntelliJ knows far more context about my code than vim could.
But in every other situation, I use vim, whether I'm writing bash, Perl, puppet or an email. Hell I'll still drop back to the terminal and vim for some Java tasks, because I know in that particular instance, my knowledge lets me do that manipulation quicker, before switching back to the IDE.
I don't think I'd enjoy using vim as my IDE's editor, because I imagine it would be hard to access both the power of both successfully.
Have you looked into CtrlP and Eclim? I've been personally using them for quite some time for Java development and it works out quite well for me.
CtrlP is quite nice especially if you're dealing with a Gradle project with multiple subprojects (and it's fast like a bat out of hell).
For coding 95% of the time I need to do something Java-related I use the :JavaImportOrganize, :JavaCorrect and :JavaRename commands provided by Eclim, then Alt+Tab to Eclipse for anything non-trivial.
I agree, we had lots of people who insisted on using vim or emacs and doing every assignment in them and they didn't produce code that was any better than what I threw together in.. I think I was using dev-c++ at the time or something, especially this whole "4 lines of code" vs "10 pages" thing at the start, it really sets a bad tone for the rest of the article.
You are correct, but vim and emacs tend to attract people who are or will become better programmers.
They are powerful, extensible, and have a steep learning curve. There is a decent overlap between the people who spend the time and even enjoy learning tools like this, and the people who tend to write well structured and performant code.
Correlation != causation, but the correlation is pretty strong IMO.
You are correct, but vim and emacs tend to attract people who are or will become better programmers. They are powerful, extensible, and have a steep learning curve. There is a decent overlap between the people who spend the time and even enjoy learning tools like this, and the people who tend to write well structured and performant code.
Lol, that's a shit load to infer from an editor choice. Which one do you prefer?
I'd argue it's a case of a craftsman and their tools.
A great craftsman could make a masterpiece out of almost anything. They'd find a way. And high-quality tools are wasted on novices who expect it to make them better just for having them.
But a great craftsman with a great set of tools can certainly make something nobody else could.
It's about developing a workflow that works for you. And a powerful editor is about not restraining you.
172
u/[deleted] Sep 24 '15
Horse. Shit.
Editors don't make you a better programmer.