Walter's second axiom
Walter Bright
newshound1 at digitalmars.com
Sun Dec 9 15:04:06 PST 2007
Sean Kelly wrote:
> Walter Bright wrote:
>>
>> Other axioms in D have been there from the beginning, and have helped
>> keep the language on track. For example:
>>
>> 1) D can be lexed with no syntactic information
>> 2) D can be parsed with no semantic information
>> 3) Modules can be imported in any order without affecting their meaning
>> 4) The meaning of imported declarations is not affected by the context
>> of where they are imported
>
> I guess mixins are an obvious exception to 4?
Not really, because mixins are *defined* to have meaning only in the
instantiation context. How/where you do the import doesn't affect this.
More information about the Digitalmars-d
mailing list