On Sun, Sep 17, 2023 at 11:34 AM dkearns <[email protected]> wrote:

> Sorry, this is moving a bit fast for me to keep up.
>
>
>    1. An interface can have only read-only and read-write instance
>    variables.
>
> Interfaces generally specify behaviour, not data, and languages with this
> sort of type system usually allow properties but not fields to appear in
> interfaces.
>

As Bram described in
https://groups.google.com/g/vim_dev/c/yYpFNUHdRho/m/UTFWOY5VAgAJ (which you
quoted in another discussion),
it is useful to directly specify an interface from a class definition.  If
we support this, then interfaces will have both data and behavior.


> Irrespective of whether this is a good idea or not it's surprising that it
> passes through without comment. Is anyone paying attention?
>
>
> The changes to interfaces and class members/methods were discussed in the
past two weeks.  Now that all the
changes are merged, can you try out the latest Vim version and let me know
if you have any comments?

-- 
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7kyo7EYxyi_zWBpBXhVuJkrQCazHod81q0DVRFu2GMntw%40mail.gmail.com.

Raspunde prin e-mail lui