swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create Phase


From: glen e. p. ropella
Subject: Re: Create Phase
Date: Fri, 29 Nov 1996 08:57:43 -0700

> I don't understand the necessity to have an explicit
> part of initialisation for an object.
> 
> What is the difference between the implicit:
>  aThing = [Thing new: (int) aColor];
> 
> and the explicit:
>  aThing = [Thing createBegin: aZone];
>  [aThing setColor: (int)aColor];
>  aThing = [createEnd];
> 
> ------------------------------------------
> Bruno CUVELIER

Bruno,

If you'll read the document: 

   http://www.santafe.edu/projects/swarm/oopsla95.html

You will understand why we use it.  It's not strictly
necessary for functionality; but, it is useful for 
optimization.

glen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]