Documentation options

Diego Fernández diegof79 at
Thu Jan 3 04:30:00 UTC 2008

Why is necessary to add new properties to a CompiledMethod just for  
the documentation?

To handle that documentation properties you would need a browser aware  
of that. So why just not use a global to hold the documentation:

SmalltalkDocumentation for: MyClass>>#method is: 'Hello world!'.

Then this special browser just need to access to  
This solution could be ported easily to other smalltalks.

On Jan 2, 2008, at 11:11 PM, Igor Stasenko wrote:

> On 02/01/2008, Andreas Raab <andreas.raab at> wrote:
>> Igor Stasenko wrote:
>>> Is there places left, where you can reserve a slot and put a  
>>> reference
>>> to object in it?
>> MethodProperties. It's the right place for it. You can add as many  
>> ivars
>> as Squeak supports and all you need is a delegate accessor in
>> CompiledMethod.
> Yes, i agree.
> Sorry, forgot about that.
> -- 
> Best regards,
> Igor Stasenko AKA sig.

More information about the Squeak-dev mailing list