[Pharo-project] short circuit or redirecting selectors

2010-12-19 Thread Elliot Finley
Hello, If I have an object with accessors #firstName, #lastName and #age, how would I short shirt circuit or replace these selectors? In other words, how would I modify an object after it's already been created? Thanks, Elliot

Re: [Pharo-project] short circuit or redirecting selectors

2010-12-20 Thread Stéphane Ducasse
On Dec 20, 2010, at 3:46 AM, Elliot Finley wrote: > Hello, > > If I have an object with accessors #firstName, #lastName and #age, how > would I short shirt circuit or replace these selectors? In other words, how > would I modify an object after it's already been created? Hello there ar

Re: [Pharo-project] short circuit or redirecting selectors

2010-12-20 Thread Elliot Finley
On Mon, Dec 20, 2010 at 1:13 AM, Stéphane Ducasse wrote: > > On Dec 20, 2010, at 3:46 AM, Elliot Finley wrote: > > > Hello, > > > > If I have an object with accessors #firstName, #lastName and #age, > how would I short shirt circuit or replace these selectors? In other words, > how would I

Re: [Pharo-project] short circuit or redirecting selectors

2010-12-21 Thread Stéphane Ducasse
There is an implementation of memento in magritte if you want to get some inspiration. > Which works for a normal model object. But a facade wouldn't be storing it's > values in instance variables. It would be proxying for one or more > underlying model objects and so would a copy of that ob