Tuesday, November 3, 2020

Re: Happy birthday!

On Mon, 02 Nov 2020 19:19:38 +0100
Bram Moolenaar <Bram@moolenaar.net> wrote:

> Hello Vim users,
>
> 29 years ago the very first version of Vim was built and distributed.
> And Vim is more popular than ever before! So, what's going on these
> days?
>
>
> VIM 9 DEVELOPMENTS - MAKING VIM SCRIPT FASTER AND EASIER TO USE
>
> This is a big project. A lot of progress has been made, but it will
> take time until we'll have "version 1.0". To make it possible to
> compile a Vim script function, so that it can be executed 10-100 times
> faster, it was required to make changes that are not backwards
> compatible. Such as not having a dictionary and list for the function
> arguments, since that causes too much overhead for every function
> call.
>
> Once making changes that are not backwards compatible, it seemed like
> a good idea to also make it easier to use Vim script. Or in other
> words: "less weird". Using keywords and syntax that is similar to
> popular programming languages helps a lot. At the same time we can
> make the semantics more predictable and avoid mistakes. Type
> checking is a great help with that, especially when writing a large
> plugin.

Thank you, thank you, THANK YOU! The old vimscript was so weird I had
to do hours of trial and error just to do simple things, and there were
a lot of things I couldn't do at all. Much/most of this was for
VimOutliner, and I didn't want to require VimOutliner users to need to
install Python extensions, so I used VimScript.

> In case you don't like Vim 9 script, you can keep using the legacy
> one, it won't go away and remain backwards compatible.

Can I use some of one and some of the other, so I can slowly switch
things to the new one?

SteveT

Steve Litt
Autumn 2020 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201103032402.3173d90f%40mydesk.domain.cxm.

No comments: