ts <decoux / moulon.inra.fr> writes:

> >>>>> "D" == Dave Thomas <Dave / PragmaticProgrammer.com> writes:
> 
> D> Well, it cheats. The string class names are associated with classes
> D> when they're first attached to a constant.
> 
>  This is a little more complex (this is just to give  some troubles :-)))

Yes. I believe that anonymous class names are cached (as hidden
instance variables of the class object) the first time they are
referenced, whereas classes created using "class XXX" have their names
cached at the time of creation.

Regards


Dave