in reply to Re: Re: Re (9): Perl6 headaches?
in thread Perl6 headaches?
For instance if you make a copy of an object, and adjust that copy, the original changes. If you make a copy of an object and rebless it, the original is now in a different class. Those internal details show that any and all accesses to the object are taking place through a level of dereferencing. If the data was immediate then modifying a copy wouldn't change the other copies. But it isn't immediate and so changes are shared among all references to that object.
That said, Perl 6 is doing a lot to reduce how much the programmer needs to think about explicitly dereferencing data structures. Therefore it makes sense to me to have the arrow change to a dot to indicate the fact that we are supposed to stop thinking so much about dereferencing...
|
|---|