|
|
|
|
|
by geysersam
370 days ago
|
|
> If we agree that users shouldn't touch the private variables, why not just have the language enforce it? Thing is, I don't have an opinion about what users should do. That's entirely up to them and the trade offs they make in their contexts.
There are scenarios where you might want to access a private field. But it's also a question about simplicity, adding private to the language makes it bigger without imo contributing anything of practical value that can't be achieved with convention. |
|