Proposal on improvement to deprecated

Marco Leise Marco.Leise at gmx.de
Sun Oct 2 19:32:04 PDT 2011


Am 03.10.2011, 02:10 Uhr, schrieb Walter Bright  
<newshound2 at digitalmars.com>:

> On 10/2/2011 1:16 PM, Jonathan M Davis wrote:
>> The feature needs to be simple.
>
> Yes, totally. And it is simple, now.
>
> The trouble is coming from the wholesale deprecation of large swaths of  
> Phobos with every recent release. I don't think the solution is to make  
> deprecation more complex (because no matter what you do, the user will  
> still have to re-edit his code, and that's the real problem), but to  
> make deprecation and code breakage a rare event.

I totally agree, yet I wouldn't mind to know the line of code where I am  
using a deprecated feature and a custom message. Unless of course, you  
like deprecation messages to be annoying so that it doesn't become a habit  
to deprecate stuff. ;)


More information about the Digitalmars-d mailing list