Re: a strange idea
- (...back from vac...)
Thomas Köhler wrote:
> I just made up my mind about arrays and such... well.
> We don't need to implement them in vim's scripting language if there's a
> good way to simulate them.
> Add, Remove and Delete maniplate the according function (hey, this is aForgot to suggest taking a looong coffee before "you're done" ... :-)
> tricky bit of vim scripting, using exec and such), and you're done.
>Yes (most things do) and yes (nothing can replace a real array syntax,
> Would this make sense? Better ideas?
any scripting language worth looking...)
> (I just wanted to hear some commentsYou've got mine...:)
> before I even think of starting toI've played with similar ideas a lot (as other people did).
> implement this)
I have an array implemetantion written exclusively in vim functions (any
number of indices, any index can be either a number or a string (Korn
calls those associative arrays)), it works but is slow.
No, I am not trying to solve a system of linear equations with it, just
applications for tables and such.
That's why I am sceptical.
Can't beat a clean array syntax IMHO. Idem (and more) for readability.