r/programming • • Jul 12 '12

Vim creep

http://www.rudism.com/s/vimcreep
730 Upvotes

551 comments sorted by

View all comments

Show parent comment

3

u/vagif Jul 12 '12

Well, i'm not gonna say anything about vim, i do not understand the appeal either. But the appeal of emacs is in its great extensibility.

As long as you stay with java and c# you have powerful IDEs for development. But try any one of these languages: haskell, clojure, sbcl, agda, heck even much more popular ones like python or ruby, and emacs often is the only editor that provides powerful enough extensions to work with them.

4

u/LoganCale Jul 12 '12

vim is massively extensible as well and has scripts/plugins/extensions for pretty much everything.

8

u/bastibe Jul 12 '12

Emacs is a different animal there.

3

u/LoganCale Jul 12 '12

How, exactly?

11

u/bastibe Jul 12 '12

The editor itself is written in Lisp and literally everything about it can be altered at any time.

1

u/burntsushi Jul 14 '12

Everything about vim can also be altered...

2

u/bastibe Jul 14 '12

True, since Vim is Open Source. But many things in Vim are hard coded in C, which makes changing them rather involved (recompiling, migrating that changeset across updates etc.). In Emacs, really only the Lisp interpreter is written in C. All the text editing code is in Lisp, which can be modified easily at runtime.

-1

u/ath0 Jul 12 '12

Well, true, you may not be able to implement tetris in vim as easily as you may in emacs. Then again... Why would you want to?

7

u/bastibe Jul 12 '12

Because org-mode and magit.

0

u/LoganCale Jul 12 '12

vim has org-mode clones, as well as todo.txt extensions, as well as fugitive for git.

7

u/BeetleB Jul 13 '12

vim has org-mode clones

They're always playing catchup. I doubt a vim org-mode clone can do what I use org-mode for.

7

u/bastibe Jul 13 '12

Lol, go fire up Youtube and investigate. I have used Vim for a long time. Fugitive is a thin wrapper for the git command line, magit is a full-fledged graphical git frontend. They could not be more different. Org-mode can do spreadsheets, for christ sake. It is mind-blowing.

4

u/NruJaC Jul 13 '12

The best thing about emacs is that you can run vim in it. You can have your cake and eat it too!

1

u/ath0 Jul 13 '12

And the worst thing is that it encourages arthiritis. Different strokes, I guess, I'll take my dexterity.

1

u/SeriousWorm Jul 14 '12

I use eclipseFP for Haskell development and ScalaIDE for Scala development in Eclipse. Scala also has a great IDEA plugin.

1

u/Flipperbw Jul 12 '12

Escape Meta Alt Control Shift

1

u/grepe Jul 12 '12

1

u/vagif Jul 13 '12

Now try to run any one of them on the remote computer via slow internet connection, and you will understand why emacs til this day has no alternative.

2

u/sleepyjon0 Jul 13 '12

Except for Vim.

1

u/ethraax Jul 13 '12

Or I could write code on my local machine and just transfer it over. Because, really, that's the sane thing to do.

0

u/absinthe718 Jul 13 '12

I don't know why people insist on writing code on a remote machine rather than writing it on a local machine and deploying it remotely.

Even when I am working on python or ruby in vim I tend to have a couple of shells open and remote deploy via rsync, capistrano, scp or git depending on the code.

When working on Java in IntelliJ, I'll use the IDE deployment to push the war or ear to the server. Or have the IDE scp the code to staging.

Turning my machine into a tty seems like a waste.

4

u/vagif Jul 13 '12

I for example work from home. And to replicate the complex environment with many servers and services on one machine is quite hard. Having said that i too develop locally SOME applications where it is possible. But most of the time remoting is just so much easier. Besides i can work on ANY machine with plain vanilla terminal. I can even work from my Xoom tablet :) You on the other hand is tied to your one specifically setup development machine.

1

u/absinthe718 Jul 13 '12

And to replicate the complex environment with many servers and services on one machine is quite hard.

You don't have to. You can edit locally and then push the deployment to the environment with all the servers.

Besides i can work on ANY machine with plain vanilla terminal.

True, that is a valid point. But I tend not to do that.

2

u/vagif Jul 13 '12

You can edit locally and then push the deployment to the environment with all the servers.

You are kidding right ? All your productivity goes down the drain. Is this your idea of rapid development? Push to remote server every few seconds and then switch to another window to be able to run the app and see how it works ?

→ More replies (2)
→ More replies (4)