DBXMagritteClassBuilderVisitor>>buildAccessorForAttribute: attribute
inClass: aClass

> could you give me a pointer to read up on what the curly-brace-numbers are?
>

The curly braces in the string are just for string formatting, the second
one is a dynamic array:

'hello {1}! How's your {2}?' format: { 'Ben' 'metaprogramming' }.

What that method does is creating the accessors, ending up in a final
string like this for the mutator:

'someAccessor: aParam
    instVar := aParam'


>
> btw, Can you advise how is the compiling activated? If you had about 800
> classes that need to be created, would temporarily turning off the compile
> assist the program execution time significantly?
>

I cannot give a good answer here.  Maybe someone has better knowledge on
the compiler and it's settings.  Maybe creating a giant script with all the
class creations is faster than 800 scripts.  Or Maybe not significantly
:P.  Maybe disabling the UI notification enhances it a little bit.

I've never worried about it a lot :P.

Cheers,
Guille

Reply via email to