Skip to content

Conversation

@rafaelrojasmiliani
Copy link

Here I propose a method to introduce also public variable into classes

@yuchdev
Copy link
Owner

yuchdev commented Mar 11, 2023

I'm not sure this is required.
If you just need a collection of public variables, there's the is_struct property.
In case of class, opening only part of data members would be violation of encapsulation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants