On 06.09.2011 21:05, Daniel Murphy wrote:
"Andrei Alexandrescu"<seewebsiteforem...@erdani.org> wrote in message
news:j45isu$2t3h$1...@digitalmars.com...
Yah, I also think the documentation makes it easy to clarify which module
is the preferred one.
I think there's a lot of merit to simply appending a '2' to the module
name. There only place where the '2' occurs is in the name of the module,
and there aren't many modules we need to replace like that.
I still can never remember if I'm supposed to be using std.regex or
std.regexp.
Looking at the docs: std.regexp is scheduled for deprecation (in August
? hm... that was a bit harsh).
When the new one is finished are we going to have 3?
To the best of my knowledge new one is supposed to be std.regex, and
since API is essentially the same, chances are most users won't notice
the change :)
Speaking of the whole idea, I like '2' appended, it's clear that it's a
new and better version, and it keeps the old code from unnecessary strain.
It's definately benificial to avoid breaking code, but I really disagree
that phobos has reached that point yet. The breaking changes need to stop,
but stopping prematurely will leave phobos permanently disfigured.
--
Dmitry Olshansky