3 ms·
> The benefits of getting to grips with Vim are immense ... This may be true, but IMHO it can't compare to dumping Vim and choosing an editor that more efficie
by lutusp 15y ago
> The benefits of getting to grips with Vim are immense ...
This may be true, but IMHO it can't compare to dumping Vim and choosing an editor that more efficiently exploits modern computers and their interfaces.
Many people don't realize this, but Vim arose from vi, which in turn arose from "ed". This family of editors contains a command infrastructure meant to avoid the waste of paper on a teletype terminal (ed's original display device).
And how do I know this? I used ed, and an early version of vi, years ago during my NASA engineering days in the 1970s, while designing part of the Space Shuttle. All those separate vi modes -- insert, delete, move the cursor, and others -- originated in ed, at a time when it was a priority to assist the operator while typing blind, before wasting another 11 inches of paper just to see how it all turned out. The first version of vi was screen oriented, but it carried over the original separate modes, and kept them separate.
When I wrote the first version of Apple Writer (http://en.wikipedia.org/wiki/Apple_Writer http://en.wikipedia.org/wiki/Apple_Writer) in 1979, people had a hard time adjusting to an editor that allowed you to insert, delete and move the cursor without changing modes. It seemed a rather simple idea to me, but at the time, among vi users, it was met with shock and disbelief.
And here we are, over 30 years later, and people are still learning vi/Vim, as though it represents cutting edge technology.
I think we should hold a wake for vi/Vim, and maybe we should invite Fortran to the party.
- vectorpush 15y ago>Many people don't realize this, but Vim arose from vi, which in turn arose from "ed". So what if it "arose" from previous software? Should we hold a wake for the UNIX model? Everything as a file? Come on, it's 2012! I'll spare you a list of popular software that still employs metaphors from the 70s and just say that vim != ed. The robust plugin system alone allows vim to be pretty much anything you want, and I can't think of any features from any modern IDE that vim doesn't support.
- lutusp 15y ago> So what if it "arose" from previous software? You're missing the point that Vim still has the infrastructure of the original program -- it still has three separate modes: insert, delete and move the cursor, just as its distant predecessor did. This has no purpose except to agree with tradition.
- Avshalom 15y agoActually Vim has 6 basic modes, but none of them are "delete" or "move the cursor". And the purpose of modal editing in the modern day is that, when editing and not just composing, you don't have to spend your day holding down various combinations of modifier keys.
- yabai 15y agoIt is all about effeciency. I find when I am not using vim I am less effecient. I like the seemingly minimal, ultra complex features of vim. I can count on some form of it being installed on most *nix machines. I can customize it to my liking...what can I say...I love it. To me, it is as modern as any editor.
- lutusp 15y ago> It is all about effeciency. I find when I am not using vim I am less effecient. [emphasis added] That was great. Someone searching the Web for remarks about efficiency will certainly miss your bons mots. On this basis I must conclude that Vim doesn't have an integrated spell-checker.
- vacri 15y agoI've never heard anyone say that they liked Vi because it was cutting edge technology. You sound quite sour about it.
- cageface 15y agoI've never understood this obsession with editing efficiency among programmers. When coding I spend about 90% of my time thinking about what to type. A good IDE that really understands the structure of my code without twenty flaky plugins is worth much more to me than saving some keystrokes.
- jerf 15y agoTyping efficiency I'm "meh" on; don't get in my way, but I'm not too worried about it. I've tried tons of autocomplete of every kind and tend to just turn it all off. Navigational efficiency is very important, though. If I want to look at a bit of code, fractions of a second count if I'm going to stay in flow. This is very much personal opinion, but what I found with autocomplete is the time I'm typing the code I'm also using to think about it. Even on those surprisingly rare occasions where I manage to set up autocomplete that is both fast and accurate, it still didn't speed me up much. If I'm thinking so far ahead of my typing that I'm actually frustrated about the typing, that is typically an absolutely enormous code smell that something is very wrong, and I need to address the redundancy immediately.
- cageface 15y agoI think it depends somewhat on the language. For Ruby I prefer Emacs and don't see much benefit in autocomplete. But for Objective-C & Cocoa, which is admittedly a somewhat extreme case, autocompletion is a godsend. But autocomplete is only one feature among many I appreciate in a good IDE. I'd also hate to give up a good visual debugger with integrated breakpoints, direct links from compile errors, etc. I know you can hack a lot of this together in Vim or Emacs but after 15 years of doing just that I don't miss it when I'm using IntelliJ or XCode.
- alinajaf 15y agoI don't. I do my thinking in the code because I can edit fast enough to keep up. I test out ideas as they come to me, delete them, refine them in the code itself rather than think up abstractions and then translate them into code in a second step.
- deleted 15y ago[deleted]
- lutusp 15y agoMy remarks were about a lineage of programs that still contain truly crippling features, in order to meet the needs of an environment that has long since disappeared. Mathematics doesn't have this problem.