Hi,

On Sun, Oct 1, 2023 at 5:17 AM shane qian <shane.q...@live.com> wrote:

> and I meant vim9script so far I felt it's good for type-checking and
> performance, but vim9 class to me I felt a bit burdened, not sure if
> still a chance to make it be simple to use (use for scripting), still wish
> that's the goal. @errael  @yegappan
>
>
I haven't introduced any fancy OOP features so far.  These are the features
that Bram has partially implemented or planned for and were already in
the todo list.  These features are basic to any OOP language.  Most of the
changes are about fixing bugs, following the specification, making the
behavior
similar to the behavior in languages like Dart, Java and TypeScript and
making
the type checking strict.

I think using a formal type checking term like "covariance" and
"contra-variance"
confuses people to think that we are introducing fancy features.  But these
are
just terms for describing the type check and not new features.  I could have
used "implement appropriate type check for method arguments and return
types in extended classes".

Regards,
Yegappan

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3DEMWHk1FmdAfyuZesgyon8BFeB06GUqxsVMULOpasS_A%40mail.gmail.com.

Raspunde prin e-mail lui