ro is welcome
> Subject: Re: [Pharo-users] Updating a project and NIL class variables
>
> no apologies owed, I just asked because I want to make sure Pharo wont do
> anything weird behind my back :)
>
> On Wed, Jan 20, 2016 at 4:39 PM Sven Van Caekenberghe wrote:
>
> >
project and NIL class variables
no apologies owed, I just asked because I want to make sure Pharo wont do
anything weird behind my back :)
On Wed, Jan 20, 2016 at 4:39 PM Sven Van Caekenberghe
mailto:s...@stfx.eu>> wrote:
> On 20 Jan 2016, at 15:34, Dimitris Chloupis
> mailto:kilon.al.
no apologies owed, I just asked because I want to make sure Pharo wont do
anything weird behind my back :)
On Wed, Jan 20, 2016 at 4:39 PM Sven Van Caekenberghe wrote:
>
> > On 20 Jan 2016, at 15:34, Dimitris Chloupis
> wrote:
> >
> > Thank you for the info but I think I did not make myself cle
Thank you for the info but I think I did not make myself clear because you
say "remain nil"
Ok Imagine a class SomeClass and that class has a variable we will call
SomeVariable, class variable that is
, there is no class initialize method, now that class has a method that is
eventually called ,
so
> On 20 Jan 2016, at 15:34, Dimitris Chloupis wrote:
>
> Thank you for the info but I think I did not make myself clear because you
> say "remain nil"
>
> Ok Imagine a class SomeClass and that class has a variable we will call
> SomeVariable, class variable that is
> , there is no class initi
ok thank you all , its now crystal clear that I need to follow Sven's
approach, or maybe do it manually creating a reset method.
On Wed, Jan 20, 2016 at 4:31 PM Dimitris Chloupis
wrote:
> Thank you for the info but I think I did not make myself clear because you
> say "remain nil"
>
> Ok Imagine
On Wed, Jan 20, 2016 at 8:41 PM, Dimitris Chloupis
wrote:
> So my question is this , I have a class with nil variables that are lazy
> initialised only when needed the first time and of course they keep their
> values from there on.
>
> Lets say I get the latest update from github via metacello ov
Is it instance or class variables ?
In both cases, there are unchanged.
If class variables, Sven explain how to reinitialize.
Hilaire
--
Dr. Geo
http://drgeo.eu
They remain nil.
That is why #initialize on the class side is needed.
You can call that explicitly in a post load script, or rely on the class
loading mechanism that normally calls #initialize automatically when loading a
class. The warning is: this only happens when the *source* code of the
#
So my question is this , I have a class with nil variables that are lazy
initialised only when needed the first time and of course they keep their
values from there on.
Lets say I get the latest update from github via metacello over an older
update that I already have inside the image , do those v
10 matches
Mail list logo