On 2 May 2013 18:40, Guillermo Polito <guillermopolito@gmail.com> wrote:
#bindedXXX and #boundXXX sounds pretty static to me... It's like it was already binded. And maybe in the back it is dynamically looked up. Maybe a more abstract name can fit better:
#resolveToClass ? #lookupClass ?
Also (I'm pretty negative today), let's do not forget about traits! (We always do, and that gives us problems later )
that's why i said that whatever name you give to the method, if it ends with "class" then it should either answer a valid class or fail. In opposite to #symbol asGlobal which should fail only if such global not found. e.g.: asClass | cls | cls := self asGlobal. cls isClass ifFalse: [ self error: 'no way']. ^ cls
On Thu, May 2, 2013 at 6:33 PM, Chris Cunningham <cunningham.cb@gmail.com> wrote:
On Thu, May 2, 2013 at 9:29 AM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
#bindedClass #bindedClassOn: anEnvironment
looks clearer to me.
Esteban
maybe: #boundClass #boundClassOn: anEnvironment
-- Best regards, Igor Stasenko.