[Pharo-project] Auto create new and initialize methods for new class?

phil at highoctane.be phil at highoctane.be
Sat Jun 16 16:45:10 EDT 2012


Anyway, we need to learn if we want to create things with something
else than new...

But I like basicNew initialize the way it is now.

2012/6/16 Stéphane Ducasse <stephane.ducasse at inria.fr>:
>>
>> Stéphane, would you mind expanding a bit on what mistake CLOS didn't make?
>
> create-instance invokes initialize-instance in CLOS for every class.
>
> In Smalltalk (not squeak or pharo), new does not invoke initialize. Now CLOS arrived 10 years after Smalltalk and we fixed
> that problem in our lovely environment.
>
> Stef
>
>



-- 
Philippe Back
Dramatic Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:
phil at highoctane.be | Web: http://philippeback.eu | Blog:
http://philippeback.be

High Octane SPRL
rue cour Boisacq 101
1301 Bierges
Belgium




More information about the Pharo-dev mailing list