logo       

Re: Exemple of pattern: msg#00102

lang.smalltalk.squeak.beginners

Subject: Re: Exemple of pattern

Adaptor isn't so popular of a pattern in Smalltalk because its easy to simply
adapt a class by implementing the desired protocol in a category. People seldom
bother to create a new class just to adapt something.

On Thursday, June 22, 2006, at 05:40AM, Mathieu SUEN <mathk.sue@xxxxxxxxx>
wrote:

>2006/6/22, Roel Wuyts <Roel.Wuyts@xxxxxxxxx>:
>> I can sing and dance :-)
>>
>> Given more time
>
>Of course! No problem.
>
>
>> For the Adaptor thing, any wrapper class will do. There have to exist
>> such classes in Squeak. Doing a search for classes that ends in
>> Wrapper will probably yield some examples.
>
>Ok I will searche for it. .. But the Decorator pattern use also this
>convention. Don't he?
>_______________________________________________
>Beginners mailing list
>Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
>http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise