On Thursday, 1 September 2016 at 20:46:50 UTC, Steven
Schveighoffer wrote:
On 8/31/16 5:56 AM, Johan Engelen wrote:
On Tuesday, 30 August 2016 at 23:54:45 UTC, Martin Nowak wrote:
Allowing access to private members has a lot of implications,
e.g.
breaks lots of optimizations b/c you can't know who accesses
sth.
"lots of optimizations"
Can you mention a few?
I'm not sure optimizations are had by private variables. Some
optimizations can be had because the compiler can prove a
variable could not have been changed. But I don't know that
private suits that need, it's more due to const or immutable.
Yep.
I was trying to be polite :-)