Login  Register

Re: Unintuitive behavior of class-side initialize

Posted by philippeback on Aug 27, 2014; 5:04pm
URL: https://forum.world.st/Unintuitive-behavior-of-class-side-initialize-tp4775042p4775107.html

Yeah don't do super initialize unless you know why on the class side.

That being said class side initialize is pretty cool when loading new packages and setting everything up automagically.

Phil

Le 27 août 2014 18:33, "webwarrior" <[hidden email]> a écrit :
class-side initialize.

I don't think it can be considered a metaprogramming in Smalltalk.

In Python, yes, messing with metaclass is metaprogramming. But things
are a bit different there and metaclasses are very rarely used [explicitly].

27.08.2014 19:05, kilon.alios [via Smalltalk] написав(ла):

> ok officially I am confused are we talking about initialise at the
> instance side or class side  (metaclass) side ?
>
> I am  a python coder myself but I have not done any metaprogramming .
>
> If it is a metaprogramming thing then yes it wont go inside my intro
> chapter since this is advanced topic and metaprogramming is already
> covered by PBE on a separate chapter so that can be added there. Since I
> am not experienced with metaprogramming it would be better if people
> experienced with Pharo and metaprogramming would write the documentation .


View this message in context: Re: Unintuitive behavior of class-side initialize
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.