On Sun, 15 Jan 2023 at 02:34, Bram Moolenaar <b...@moolenaar.net> wrote:

>
> Most of the implementation of classes has been done.  Feel free to give
> it a try.  You might run into something that is still a todo item, or a
> bug.  Please report this in a reproducible way.
>
> This is a good moment to evaluate the current choices.  Although the
> syntax and semantics are similar to popular languages, there are also
> some differences.  Hopefully they are easy to understand.
>

I was just looking at the constructor documentation and noticed that the
default constructor includes parameters for each field in the order they
were declared.  Having to change all the constructor call sites when
reordering field declarations seems like a probable source of bugs,
particularly when switching fields of the same type.  This seems like a
feature that really needs named-parameter support.

Regards,
Doug

-- 
-- 
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/CAJ1uvoAK-wS7soa%3DZTcujFBLPW72JyUxGnJ2%2B%2BmeSwN0_JUkxA%40mail.gmail.com.

Raspunde prin e-mail lui