> On 26 Jan 2015, at 23:28, Ben Coman <b...@openinworld.com> wrote:
> 
> "hidden ivar" sounds like it would make understanding the system more 
> complicated.  What is its use-case?
> 
It will never be used for cases where it needs to be understood.

Imagine a PropertySlot. This is like an ivar, but all these slots of the object 
will just be stored into one dictionary.
Now from the mental model of the programmer, this dictionary does not exist 
(and you should for sure never
modify it manualy).

In this case hiding it makes the system even more understanable. The same as we 
hide the “real” state when
looking at a OrderedCollection or Dictionary. 

Of course there will be a special inspector to see the real state, but the 
default will show the high level view.

        Marcus




Reply via email to