[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Code update and class variables
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] Code update and class variables |
Date: |
Mon, 06 Sep 2010 17:46:19 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2 Thunderbird/3.1.1 |
On 09/06/2010 04:30 PM, Paolo Bonzini wrote:
>
> It's a bit ugly, but not strictly a bug. I suggest you use a
> dictionary, and #doesNotUnderstand: instead of a getter, especially
> because you're adding the instance variables to _all_ instances of
> LogConfig rather than just one.
Two more questions
1.) is it possible to only add instance variables only to one instance? How
would I do it? '123' addInstVarNamed didn't work here.
2.) #doesNotUnderstand will not work from what I see as the Logging Module
does not know who is going to add areas to it, unless I do something like
LogConfig allSubClassesDo: []... is that appropriate?
- [Help-smalltalk] Code update and class variables, Holger Hans Peter Freyther, 2010/09/06
- Re: [Help-smalltalk] Code update and class variables, Paolo Bonzini, 2010/09/06
- Re: [Help-smalltalk] Code update and class variables,
Holger Hans Peter Freyther <=
- Re: [Help-smalltalk] Code update and class variables, Paolo Bonzini, 2010/09/06
- Re: [Help-smalltalk] Code update and class variables, Holger Hans Peter Freyther, 2010/09/06
- Re: [Help-smalltalk] Code update and class variables, Paolo Bonzini, 2010/09/06
- Re: [Help-smalltalk] Code update and class variables, Holger Hans Peter Freyther, 2010/09/06
- Re: [Help-smalltalk] Code update and class variables, Paolo Bonzini, 2010/09/07
- Re: [Help-smalltalk] Code update and class variables, Holger Hans Peter Freyther, 2010/09/07
- Re: [Help-smalltalk] Code update and class variables, Paolo Bonzini, 2010/09/07