www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Depreciated modules

reply %u <ee ee.com> writes:
What Phobos modules are currently depreciated or undergoing mayor
changes right now? And what are their replacements if any?

I suppose std.xml is one. What about std.regex/std.regexp,
std.stream/std.stdio/std.cstream/std.socketstream, std.bind,
std.boxer/std.variant?

BTW: http://digitalmars.com/d/2.0/phobos/std_gregorian.html is in the
menu but gives 404.

Thanks
Feb 10 2011
next sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Thursday, February 10, 2011 09:25:25 %u wrote:
 What Phobos modules are currently depreciated or undergoing mayor
 changes right now? And what are their replacements if any?
 
 I suppose std.xml is one. What about std.regex/std.regexp,
 std.stream/std.stdio/std.cstream/std.socketstream, std.bind,
 std.boxer/std.variant?
 
 BTW: http://digitalmars.com/d/2.0/phobos/std_gregorian.html is in the
 menu but gives 404.

std.gregorian was never really finished. It's mostly a stub, I think. std.datetime replaces both it and std.date. It's in the latest version of Phobos in git, but it hasn't been in an acutal release yet. - Jonathan M Davis
Feb 10 2011
prev sibling parent Paul D. Anderson <paul.d.removethis.anderson comcast.andthis.net> writes:
%u Wrote:

 What Phobos modules are currently depreciated or undergoing mayor
 changes right now? And what are their replacements if any?
 
 I suppose std.xml is one. What about std.regex/std.regexp,
 std.stream/std.stdio/std.cstream/std.socketstream, std.bind,
 std.boxer/std.variant?
 
 BTW: http://digitalmars.com/d/2.0/phobos/std_gregorian.html is in the
 menu but gives 404.
 
 Thanks

Sorry -- just wanted to clarify that features are "deprecated" not "depreciated". "Depreciated" means that it has lost its (monetary) value. Assets are depreciated for tax purposes. "Deprecated" means that it is not approved. The words are closely related, and it's easy to write one meaning the other (I've had to backspace and retype several times in this short note). But they are different words. Paul
Feb 10 2011