[squeakland] duplicates and siblings

Bert Freudenberg bert at freudenbergs.de
Thu Apr 14 10:31:17 EDT 2011


(moving to squeakland list)

On 14.04.2011, at 16:05, Markus Schlager wrote:

> On Thu, 14 Apr 2011, Bert Freudenberg wrote:
> 
>> On 14.04.2011, at 09:44, Markus Schlager wrote:
>> 
>>> I'd suggest to rename the 'copy'-tile since it does return a new sibling but not a copy/duplicate. I think it would be useful if the label would state clearly this tile resembles a *new* sibling you can send messages to.
>> 
>> While this would be easy to change, I think it would make sense to discuss on the users list, not only the dev list.
>> 
>> FWIW, internally the operation is called "new clone".
>> 
>> Personally I would only change the balloon help. Most of the time it doesn't matter if it's a duplicate or a sibling.
> 
> Most of all I'm missing the *new* in the tile's label. It took me quite some time to understand the tile's behavior when I encoutered it for the first time.
> 
> Markus

To me, "copy" does imply creating a new object.

Also, it is only ever used as argument to another tile. I find the difference to be obvious:

	Holder include Sketch

moves the Sketch into the Holder, whereas

	Holder include Sketch copy

does not affect the Sketch itself, but adds a copy of it. I don't see how adding "new" would clarify this, but I'm happy to be convinced otherwise :)

- Bert -




More information about the squeakland mailing list