deprecate deprecated?

Jonathan M Davis jmdavisProg at gmx.com
Sun Nov 18 03:10:52 PST 2012


On Sunday, November 18, 2012 11:00:09 Kagamin wrote:
> You compile with -d because previously the build broke, so you
> know you use deprecated features.

Except that then you forget about it and never get around to updating your 
code so that it doesn't use the deprecated features, and when they're removed, 
your code breaks. -d is arguably a rather evil flag actually, and there are 
some of us would wouldn't mind having it gone entirely.

With deprecated warning, then code doesn't break immediately, and the 
programmer gets reminded that they need to update their code. It's just plain 
a better model.

- Jonathan M Davis


More information about the Digitalmars-d mailing list