r/programming • • Sep 24 '15

Vim Creep

http://www.norfolkwinters.com/vim-creep/
1.2k Upvotes

844 comments sorted by

View all comments

172

u/[deleted] Sep 24 '15

Horse. Shit.

Editors don't make you a better programmer.

143

u/Rentun Sep 25 '15

Can confirm.

Great vim user, shitty programmer.

6

u/Wiggledan Sep 25 '15

Same. :(

Gotta get to practicing

→ More replies (2)

23

u/niksko Sep 25 '15

No, but they can make you more productive. Can, not will.

→ More replies (1)

93

u/the_dummy Sep 24 '15

The ability to perform complex and precise manipulations efficiently makes it easier, however.

31

u/[deleted] Sep 25 '15

No. Faster. Not easier.

21

u/Rusky Sep 25 '15

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.

7

u/donalmacc Sep 25 '15

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.

→ More replies (6)
→ More replies (1)
→ More replies (2)
→ More replies (29)

13

u/mindbleach Sep 25 '15

Interfaces matter for productivity, focus, and frustration, and fuck anyone who thinks those aren't important to coding well.

→ More replies (3)

17

u/Nyxisto Sep 24 '15

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.

7

u/millstone Sep 25 '15

Am I allowed to dislike vim? Or did I just give up too soon?

3

u/WeWeDe Sep 25 '15

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

→ More replies (1)

27

u/crowseldon Sep 25 '15

Horse. Shit.

The command line doesn't make you a better programmer...

Of course, you made a strawman out of this article and threw it down in a black or white way...

Let's ask the pragmatic programmer

Use a Single Editor Well The editor should be an extension of your hand; make sure your editor is configurable, extensible, and programmable.

So using a single editor well will improve your productivity overall (which doesn't mean you can't use other editors or IDEs).

As with the command line... it's a crucial tool and you might just be better overall because of it.

0

u/[deleted] Sep 25 '15

[deleted]

→ More replies (2)

9

u/dpash Sep 25 '15 edited Sep 25 '15

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.

5

u/so_you_like_donuts Sep 25 '15

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.

→ More replies (3)
→ More replies (3)
→ More replies (5)

3

u/b-rat Sep 25 '15

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.

5

u/zeug Sep 25 '15

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.

2

u/[deleted] Sep 25 '15

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?

2

u/[deleted] Sep 25 '15

I only have evidence that they attract programmers that like talking about editors.

→ More replies (1)

4

u/[deleted] Sep 25 '15

They make you a more efficient programmer... usually.

1

u/MyTribeCalledQuest Sep 25 '15

It only makes you faster.

1

u/TheCodexx Sep 25 '15

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.

→ More replies (2)