"with" should be deprecated with extreme prejudice

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun May 17 20:13:06 PDT 2009


BCS wrote:
> Hello Andrei,
> 
>> Robert Fraser wrote:
>>
>>> This. Just issue an error/warning if something in the with shadows
>>> something outside. That way, if the struct/class/template/whatever
>>> changes, affected code will be notified.
>>>
>> No warning, error!
>>
> 
> warning if it exist, error if used?

I go with Walter's stance: either compiles or not. Warnings suck.

Andrei



More information about the Digitalmars-d mailing list