Phobos packages a bit confusing
dsimcha
dsimcha at yahoo.com
Sun Nov 29 12:26:07 PST 2009
== Quote from Andrei Alexandrescu (SeeWebsiteForEmail at erdani.org)'s article
> Walter and I discussed quite a few times the possibility of defining
> std.all that publically imports all of std. My experiments show that a
> short script importing std.all will compile slower, but not too slow,
> compared to a script that only import a few modules.
Vote++. This would be a nice little convenience when writing small scripts in D,
which I actually do quite often because I already know where basic APIs like file
I/O are in Phobos and I don't want to learn another API just for small scripts.
This goes along with the scaling down thing I was talking about a few days ago. A
well-designed language and library should be good for both big projects (making
complicated things possible) and small projects (making things simple). std.all
would be a trivial addition that wouldn't clash with anything else and would
really help Phobos scale down better.
More information about the Digitalmars-d
mailing list