Help for beginners (was Re: Request for Comment: MethodAnnotations for 3.9alpha)

Marcus Denker denker at iam.unibe.ch
Sun Aug 28 13:28:35 UTC 2005


Am 28.08.2005 um 15:15 schrieb Lic. Edgar J. De Cleene:
> Why some members think inheritance is not enough ?
>

In the case of CompiledMethod: Yes.


> What's wrong of having a Class in the usual way with the internals  
> suited to
> your wish ?
>

because you can not change CompiledMethod or add a subclass that adds
a instvar and use it in place of CompiledMethod.

It's structure is known by the VM.

>
> Sorry if I wasting your time, but as String refactoring is causing  
> me some
> problems, I really scare some radical as touching CompiledMethods.
>

Why is it radical?

        Marcus



More information about the Squeak-dev mailing list