News for hackers. Stuff that matters.
Re:Ask HN: Best code editor? by mrshoe on Saturday August 29, 2009 @06:14PM (#793686)
vim is one of the most user friendly pieces of software I have ever used. The interface is incredibly efficient. The designers put great effort into making sure that common tasks were one or two keystrokes that usually don't even require moving your fingers off the home row.

Just because it's not the most discoverable interface doesn't mean it's user hostile. I wish more software designers would look at vim as an example. A text editor falls into the category of software which users spend a ton of time using. For those types of software a steeper learning curve is completely accpeptable if it means the users can operate the software without even consciously thinking about it once they've learned how to use it.

Re:Ask HN: Best code editor? by RiderOfGiraffes on Saturday August 29, 2009 @06:39PM (#793726)
Reading this crystalised some thoughts I've had for a long time, but never been able to express clearly.

Yes, vim is a non-discoverable interface.

http://www.google.com/search?q=discoverable+interface

( Side note: from that search I found this:

http://www.catb.org/~esr/writings/taouu/html/ch01s01.html

There it lists "... concision, expressiveness, ease, transparency, and scriptability." It then expands on each, but mysteriously quote "Discoverable" in place of "scriptability." Very odd.

But I digress ...)

Now the question is - without having to wade through plodding tutorial after plodding tutorial, how can we help people discover the interface? This doesn't just apply to vim, it applies to your web site, or application, or even your company procedures.

It's now a long time since I learned about :sp and ctrl-w to create and move between windows in vim. How can we help others find these things? How can we help them find the fast way of doing things on our web facility?

As a parting note - I wouldn't equate efficiency to "user-friendly."

Re:Ask HN: Best code editor? by 10ren on Sunday August 30, 2009 @12:26AM (#794062)
First problem: vim has already implemented any feature you can imagine, with more refinements and related features than you can imagine. But you have to imagine it before you can find it...

Second problem: And even then, you can't find it in the help (it's organized like a professional index - like that of a legal textbook - you have to know what you're looking for before you can find it). Google solves this problem.

Google also helps solve the first problem, of "what to search for": you search by describing the difficulty or problem you have. A brilliant resource for this is Stackoverflow. It's works well for developer-centered, technical questions. The internet is the vim help: "a user generated FAQ". But this is just a way to cope with poor discoverability - the real answer is to design the interface to be discoverable.

Re:Ask HN: Best code editor? by caffeine on Saturday August 29, 2009 @09:14PM (#793912)
You only need 1 tutorial to discover vim, and it comes with the program and requires 20 minutes.

For me "discover" means "edit without the mouse." Once you do that, you're hooked - you can discover the voodoo magic at your leisure, from then on.

Re:Ask HN: Best code editor? by iigs on Saturday August 29, 2009 @07:12PM (#793763)
More vi/vim tips in the MOTD/fortune issued on login on some hosts (FreeBSD pops to mind).

fortune in /etc/profile is something I miss about older Unixes and Unixalikes that seems to be evolving away.

Re:Ask HN: Best code editor? by vicaya on Sunday August 30, 2009 @08:42PM (#795180)
Actually, I found vim quite discoverable, you can pretty much type :help <topic> on anything and you'll see ton of stuff around that are interesting.
Re:Ask HN: Best code editor? by shawnjgoff on Saturday August 29, 2009 @06:30PM (#793712)
I agree. It's like Photoshop: at first you're like "WTF were they thinking?" until you really use it and see what geniuses they were.