Sake = Rake for Smalltalk?
stéphane ducasse
ducasse at iam.unibe.ch
Tue May 16 15:06:42 UTC 2006
On 16 mai 06, at 00:34, Alexandre Bergel wrote:
>
>> KernelPackage
>> import: Point.
>>
>> Package declare: 'ColoredPointPackage'.
>
> Why not instead:
> Package ColoredPointPackage; import: Point from: #System
because I tried to be as close as possible to the message passing syntax
>
> It is plain Smalltalk, and is less verbose.
>
>
>> Point < ColoredPpoint
>> variables: 'x y' ;
>> classvar: 'Foo'
>
> I would prefer:
> Point subclass: #ColoredPoint
> var: 'x y'; classvar: 'Foo'.
Var and classvar are cool.
I like the < :)
>
> var/classvar is more homogeneous than variables/classvar
>
>>
>> ColoredPoint>>foo: zork
>> <category: 'foobar'>
>> <author: 'sd' date: '24/06/2006'>
>> [ ljkljl
>> ^
>> ]
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.cs.tcd.ie/Alexandre.Bergel
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
More information about the Squeak-dev
mailing list
|