> On 1 Apr 2019, at 11.04, David Demelier <[email protected]> wrote:
> 
> Given that ECMAScript use camelCase I'd suggest to rename the low level API. 
> E.g. read_blob -> readBlob.

In this case read_blob is a low-level API that directly mirrors the 
corresponding C function in Vim. In general, I think the benefits of being 
consistent with Vim or VimScript notation trump ES community conventions. Also, 
we have for example win_screenpos and winbufnr, that would either become 
winScreenpos and winbufnr or winScreenPos and winBufNr. In the latter case you 
wouldn’t be able to uniquely map back to vim functions, e.g. for looking things 
up with :help (although there are only 1 or 2 examples like that, _ is mostly 
used for namespacing of builtins).

Best,
Bob

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to