[squeak-dev] The Trunk: Monticello-dtl.674.mcz

Eliot Miranda eliot.miranda at gmail.com
Thu Dec 28 05:41:49 UTC 2017


Hi David,


> On Dec 27, 2017, at 9:37 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> 
> Hi David,
> 
>    compiledCodeClassNames  is a mistake.  There are no restrictions on the number of subclasses of CompiledCode.  What tells us if a class is that if code is its format which is expressed in the type information in its class definition, /not/ its name.
> 
> _,,,^..^,,,_ (phone)

If your intent is to ease moving Code between Spur and prior versions then
a) provide some special case for importing prior code, but do not impose that restriction on the current versions. 

b) Both the prior version and Spur express the compiled codeness of a class in the class's format, with the name being merely incidental.  One can back port the work to express that through the class definition.

Restricting the code loader by recognizing specific class names puts toad blicks in the way of future code.  It is worse than isKindOf:

> 
>> On Dec 27, 2017, at 8:59 PM, commits at source.squeak.org wrote:
>> 
>> compiledCodeClassNames


More information about the Squeak-dev mailing list