Jonathan M Davis wrote:
On Saturday 15 January 2011 21:50:53 Walter Bright wrote:
Then leave the pragmas off.
??? You mean not put the pgramas in std.date and std.dateparse? Doesn't that
essentially mean that they're going to get deprecated with no warning when they
do get deprecated? Or are you thinking that updating the documentation to say
that they're scheduled for deprecation is enough warning? If so, I'm fine with
that, but I expect that that will primarily mean that new code will use
std.datetime rather than the old code being fixed before std.date is actually
deprecated, since I wouldn't really expect anyone to be reading the
documentation unless they weren't already using the functions and familiar with
them.
Regardless, what you're proposing then is that I mark std.date and std.dateparse
as scheduled for deprecation now but that I don't actually use the pragma. Then,
in a release or two or whenever we decide to deprecate them, we mark them as
deprecated. So, anyone who reads the documentation will be aware of the
impending deprecation, but anyone already using the functionality without
looking at the deprecation won't know.
Then how about fixing the functions in std.file so they don't call the
deprecated functions?
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos