On Fri, 20 Feb 2009 16:35:54 +0300, Andrei Alexandrescu
<seewebsiteforem...@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.