Re: protecting internals from mutable arguments

2007-05-17 Thread Austin Hastings
Darren Duncan wrote: Larry had some ideas for dealing with the problem, but this is a matter that should be more widely discussed, particularly among implementers and such. A general thought is that a parameter could be marked so that any argument passed through it is effectively snapshot (

protecting internals from mutable arguments

2007-05-17 Thread Darren Duncan
All, Something that tops my current list of Perl 6 features to desire, or design flaws to deal with, concerns protecting private attributes of our objects from being mutated outside of our control due to their being assigned to from arguments to our routines that are mutable. I want to raise