2 ms·
I find the assertion that compiler enforced discipline is paranoia, too hippy. What it does is free you from a big overhead, which is keeping track of the acce
by sreejithr 11y ago
I find the assertion that compiler enforced discipline is paranoia, too hippy.
What it does is free you from a big overhead, which is keeping track of the access levels for all of your instance variables. Moreover, documenting enforcements is a very shaky way to go about it. It requires military discipline. I've seen time and time again, documentation which didn't get changed with the code.