Vote: deprecate std.xml?

Alex Burton ab at bab.com
Wed Jan 15 04:47:38 UTC 2020


On Friday, 10 January 2020 at 14:59:23 UTC, berni44 wrote:
> Please vote: should std.xml be deprecated and moved to undeaD?
>
> See 
> https://forum.dlang.org/thread/fnbsikficjsubxrukkae@forum.dlang.org for some lately discussion about this.

No. Not until a replacement has been available in phobos for 
several years, debugged and is considered a first class 
replacement.

This was the promise :
"This module is considered out-dated and not up to Phobos' 
current standards. It will remain until we have a suitable 
replacement, but be aware that it will not remain long term."

There should be a high bar associated with removal of module from 
standard library.
Not finding an xml library in the standard library will not help 
the language for new adopters.
Finding an existing xml library deprecated, will not help the 
language for existing users.
Going to dub to find that there are multiple xml libraries 
prominently promoted where some are school projects also doesn't 
help.
Finding that the ones that look reasonable only work a for a few 
compiler versions back on one compiler that is only available on 
a few platforms also doesn't help.

I suggest fixing the one that is there, or merge a parellel set 
of code into std.xml that meets current phobos standards, are the 
only ways for D to come out looking like something a professional 
can recommend.


More information about the Digitalmars-d mailing list