On 30/06/10 03:20, Ted wrote:
Hello folks,

I'm wondering if there are some figures somewhere that would provide
some sort of estimate of the percentage of vim users who have python
installed, or would be free of objections to installing it if a module
required it.  I'm working on some vim modules, to be released for
general use, that are threatening to become pretty complicated, and
would prefer to write them in python.  Is it likely that this would
lock out a significant portion of the vim user population?  Is it
frowned upon to use external languages in cases where it's not
entirely necessary?  Python is more or less ubiquitous on linux
installs, but I don't feel like I could guess at how many vim users on
other platforms would be unable or unwilling to install it.

The modules themselves are relatively general purpose; my motivation
to code them in Python stems partly from this very generality: it's
advantageous to have that code available outside of the context of
vim.  I also find that I tend more and more toward a functional
programming style that doesn't work particularly well in vimscript.

Cheers
-Ted


Myself, I have Python installed "just in case", and even compiled into Vim, but in practice I don't use it, in part because I don't know Python, in part because, to extend or customize Vim, vimscript is good enough for me. If I found a good useful script written in Vim + Python I would not necessarily shun it as others have said they would; but so far all my third- (and second- ;-) ) -party scripts are in "plain" vimscript.

About terminology: I think it isn't cast in bronze, but personally I use "a Vim script" in two words to mean "a file to be sourced by Vim", or "vimscript" in one word to mean "the programming language used to write Vim scripts".

My main use (AFAIK) for the Python interpreter is to run Mercurial ;-)


Best regards,
Tony.
--
The fact that it works is immaterial.
                -- L. Ogborn

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to