earthquake changes of std.regexp to come
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri Feb 20 06:21:41 PST 2009
Denis Koroskin wrote:
> On Fri, 20 Feb 2009 16:35:54 +0300, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> Walter Bright wrote:
>>> Bill Baxter wrote:
>>>> Maybe "design" is too strong a word. Most Phobos modules seem to have
>>>> been put together rather hastily in order to fill a pressing need.
>>>> Often *something* is better than nothing at all, even if the something
>>>> is not so great.
>>> std.regexp evolved out of the ECMAscript regex functions - they have
>>> the same names and functionality. Layered on top of that was
>>> ruby-like names and functionality. It's a good (bad?) example of an
>>> api evolving without sacrificing backwards compatibility.
>>
>> s/good \(bad\?\)/REALLY BAD/
>>
>>
>> Andrei
>
> Backward compatibility is almost always a bad thing.
> Look what's happened to C++ and OpenGL.
In this case it's even worse, as I don't think anyone expects to paste
their Ruby code and compile it with dmd.
Andrei
More information about the Digitalmars-d
mailing list