[phobos] Deprecation of std.date
Walter Bright
walter at digitalmars.com
Sat Jan 15 21:50:53 PST 2011
Jonathan M Davis wrote:
>
> And from the looks of it, _anyone_ using std.file will end up getting those
> pragma messages, even if they _don't_ use std.date or std.dateparse at all,
> simply because std.file uses them for functions which are going to be deprecated.
> So, it seems to me that it's going to be highly annoying all around to use the
> pragmas instead of just deprecating them. I expect that if the pragmas weren't
> as heavy-handed, it wouldn't be as big an issue, but they seem to print just
> because you used a module that used a module that has such a pragma in it - even
> if you didn't directly or indirectly use any of the functionality which was
> scheduled for deprecation.
>
>
Then leave the pragmas off.
More information about the phobos
mailing list