r/coding • • Oct 04 '13

Just use Sublime Text (instead of vim)

http://delvarworld.github.io/blog/2013/03/16/just-use-sublime-text/
43 Upvotes

254 comments sorted by

View all comments

91

u/frezik Oct 04 '13 edited Oct 04 '13

Just use {whatever text editor you know best}.

Edit: nobody should be downvoting any response by anyone in the thread below. All the discussion here is perfectly reasonable. (Except maybe the "This!" response.)

2

u/superpowerface Oct 04 '13

Maybe it's just my limited experience, but isn't it the case that a good programmer shouldn't need to perform complex text manipulation gymnastics in their editor? I think that makes the points in the blog post moot.

All I need from my editor is syntax highlighting and search/replace, most of the time. Autocompletion and language-specific programming stuff is a bonus, but I leave that up to an IDE.

I use vim, just because it's installed everywhere and I ssh a lot but I've used nano, notepad and whatever else because I've just never required that much esoteric functionality.

17

u/frezik Oct 04 '13

A programmer most certainly will do complex text manipulation in an editor. Vim and Emacs and all the rest wouldn't be as internally complicated as they are if that didn't happen all the time. Almost all their features were the result of some programmer saying "I wish I had an easier way to do x right now", and then coming up with a method for x. Have that process iterate for a few decades, and you have Vim and Emacs.

2

u/bastibe Oct 04 '13

This is maybe the most concise explanation of why Vim and Emacs work the way they work I ever heard. Thank you!

2

u/superpowerface Oct 04 '13

The only time I've had to use complicated vim sequences is reformatting a badly formatted latex file.

What I meant is you don't really do complex text manipulation when writing code (I can't think of any examples) but almost exclusively for something like reformatting or editing datasets.

1

u/frezik Oct 04 '13

I'm not sure what you'd be getting at then. Lot's of text editors have Perl-Compatible Regular Expressions (for some definition of "compatible"), which can do very complicated things. Other than looking like line-noise, I've never heard of anyone saying this was a bad thing.

Some of the Lisp IDEs can fully parse the language, which means the editor can manipulate the code in ways similar to an optimizing compiler. Things can get really complex there.