Monday, January 3, 2022

Re: Vim9 script feature-complete

hello everyone and thanks to the vim contributors,

Le Mon, Jan 03, 2022 at 11:04:32AM +0000, Bram Moolenaar a écrit :
> > comments suggested to reverse the import syntax so that the imported
> > script is named first and the imported entities next. A rationale for
> > this is that it would help automatic completion.
> Is there another language that works like this? ...
> resembles Javascript, which hopefully some users are familiar with.

Bram, I didn't know this was something you're interested in as i always
found the vim langage special and though it reflect some personal choices.

One thing i only saw in very old langages is the "specialized end" instead
of the generic one and i admit i would love to write function with a syntax
that is closer to lambdas (or Javascript) or at least ruby/lua 'end'

def MyFunction (arg: number): number {
while todo > 0 {
echo "again"
todo -= 1
}
return 0
}

def MyFunction (arg: number): number
while todo > 0
echo "again"
todo -= 1
end
return 0
end

i also dislike the parentheses for function calls but lot of people
disagree.

Anyway: i switched to vim9 to hunt bug and found none for the moment.
congratulations and many thanks.

regards
marc

--
--
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/YdMuxgyrPmumKh%2B6%40prometheus.u-strasbg.fr.

No comments:

Post a Comment