On Tue, Aug 29, 2023 at 9:20 AM dkearns <vim-dev-git...@256bit.org> wrote: > > Is there some strong objection to requiring a keyword modifier? Why is a > default needed at all? >
If we always require a keyword modifier (like private, public, etc.) in a member/method declaration, then it will be too cumbersome to add this prefix to each member/method. A default makes it simpler. Regards, Yegappan > > We could require private and keep the required underscore as well. This is is > already done for functions/methods which require an uppercase character. > > The language uses strictly unnecessary keywords everywhere. In declarations, > in particular, they're cheap and clear. > > This would also obviate the problem with initialised declarations looking the > same as plain assignments. > -- -- 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%3DY8iLTCRreYa%3Dbpb8w2tjV0K6gR%2BMnq0mRpyc07VPYWw%40mail.gmail.com.