Replies: 1 comment 1 reply
-
I think you're talking about how Python just has In Mojo it's not enforced no, but in a similar question Chris said that they may do this in the future: #129 (comment) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Somewhere I have heard / seen that Mojo will have true encapsulation in the opposite to Python in which encapsulation does not exist (only convention).
I am just wondering.. Will this encapsulation be as much powerful as e.g. in C++ in which also inheritance may be controlled?
Beta Was this translation helpful? Give feedback.
All reactions