help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Re: Using Smalltalk as a scripting language


From: Roland Plüss
Subject: Re: [Help-smalltalk] Re: Using Smalltalk as a scripting language
Date: Sat, 31 Oct 2009 16:17:49 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090926)


>> Maybe I need to do a hack then by having a class side object which just
>> holds a pointer ( not the variable itself ).
>
> No, why?
>
> Note that singletons can always be broken.  #initialize can be broken
> with #basicNew.  In fact, everything in Smalltalk can be broken, since
> there are no private methods.  But I wouldn't worry about that.
I just say "true becomes: false" :P
>
> Now that I understand more, anyway, I agree that the best thing to do
> is what you were doing in the beginning---but with the class variable
> names declared correctly based on the output of "Class allInstVarNames".
How could I forget THAT. Of course I missed the previous instance
variables. I'll change that right away. Sometimes I don't make enough
RTFM :P it looks like.
> If you have problems, you can also consider going on the
> #gnu-smalltalk IRC channel on freenode.net.
>
Came from there to this mailing list as people said it's better here
than there to ask.

-- 
Yours sincerely
Plüss Roland

Leader and Head Programmer
- Game: Epsylon ( http://epsylon.rptd.ch/ ,
http://www.moddb.com/games/4057/epsylon )
- Game Engine: Drag(en)gine ( http://dragengine.rptd.ch ,
http://www.moddb.com/engines/9/dragengine )
- Normal Map Generator: DENormGen ( http://epsylon.rptd.ch/denormgen.php )

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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