Thoughts on encapsulation #42
Replies: 4 comments
-
|
I'm already parsing private and public modifiers and make everything private by default. But right now this isnt implemented. |
Beta Was this translation helpful? Give feedback.
-
|
So you can access everything right now |
Beta Was this translation helpful? Give feedback.
-
|
I'm planning on adding this soon |
Beta Was this translation helpful? Give feedback.
-
|
There is always a Python way to do it, e.g. to use special notation for privates like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Everything in Bite is public by default. Making everything private does make the language seem less "simple" by enforcing encapsulation.
I think enforcing encapsulation makes it a better "modern-ish" and more "serious" language.
Beta Was this translation helpful? Give feedback.
All reactions