deprecate deprecated?

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Nov 8 10:04:11 PST 2012


11/8/2012 12:13 PM, Don Clugston пишет:
> On 07/11/12 00:56, Walter Bright wrote:
>> I know there's been some long term unhappiness about the deprecated
>> attribute - it's all-or-nothing approach, poor messages, etc. Each
>> change in it changes the language and the compiler.
>>
>> Perhaps it could be done with a user defined attribute instead?
>>
>> Anyone want to take on the challenge?
>
> That *cannot* fix the problem.
> The problem is not with the deprecated attribute at all, it's with the
> command line switches.

That and it taking a looong time to add sensible "don't use 'this' use 
'that'" messages to deprecated.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list