deprecate deprecated?

Alex Rønne Petersen alex at lycus.org
Sat Nov 17 09:41:59 PST 2012


On 17-11-2012 13:53, Kagamin wrote:
> On Sunday, 11 November 2012 at 21:14:10 UTC, Jonathan M Davis wrote:
>>> Usage of deprecated symbol(s) should be a warning by default and the new
>>> option should be used to turn that into an error; not the other way
>>> around.
>>
>> Agreed. Otherwise, you can't deprecate something without immediately
>> breaking
>> code, which means that if you're trying to never immediately break
>> people's
>> code when making a change (which is the position that Phobos is in),
>> then you
>> can't use deprecated.
>
> fixing the broken code is as simple as
> make -DDFLAGS=-d

And that's the entire problem.

People shouldn't have to go in and change anything to make code build 
just because something has been deprecated.

-- 
Alex Rønne Petersen
alex at lycus.org
http://lycus.org


More information about the Digitalmars-d mailing list