-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private should mean private #41
Comments
I never considered this a big issue. On the contrary, I quite like that for testing you can introspect into the class if you want to. |
Yeah, white box testing is good and this problem of accessing private fields is a common one in any language. One idea is to have the language grant visibility to all private fields if it's inside a |
Or have a |
In my opinion,
private
should mean private to the class/struct, not to the module. I thinkmodule
ownership is a fine idea, but should be have it's own visibility.The text was updated successfully, but these errors were encountered: