earthquake changes of std.regexp to come

Denis Koroskin 2korden at gmail.com
Fri Feb 20 05:40:04 PST 2009


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.



More information about the Digitalmars-d mailing list