On Feb 20, 2009, at 8:44 AM, Keith Hodges wrote:

> Stéphane Ducasse wrote:
>> But we do not want hacks. :) and hidden dependencies.
>> Frankly I do not understand why this is not possible to use a method
>> (since a method is a script with a name).
>>
> Because methods have to compile, or they are not accepted.
>
> In bob's case these are scripts that will run in a different image, so
> do not necessarily compile in Bob's image.
>
> In mantis's case these are the bug reports downloaded for searching  
> and
> reference purposes.
>
> I dont regard this as a hack since Smalltalk is designed to have this
> flexibility of supporting differnnt languages, and syntaxes. If you  
> dont
> like it then why not remove #compilerClass altogether.
>
> If you call this a hack then what is WAFileDirectory? You would think
> that using methods to store data in the image has never been done  
> before.

but these images do not require to extend the compiler.

What I do not understand is how the browse also shows you this extra  
code
at the end of methods.
My gut feeling is that there is certainly a clean way to do that.

>
>
> Keith
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to