[squeak-dev] Re: The Trunk: Kernel-eem.474.mcz

Andreas Raab andreas.raab at gmx.de
Fri Jul 23 02:57:27 UTC 2010


On 7/22/2010 6:26 PM, Eliot Miranda wrote:
> The VW implementation relies on "clean
> blocks" where the compiler creates a literal block provided the block
> doesn't reference its outer environment.

I see. Sounds like a hack :-) What's wrong with the straightforward:

someResource
	^SomeResource ifNil:[self initializeSomeResource]

? It explicitly documents that there is a shared resource by naming it 
which is a good thing in my understanding.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list