I'm afraid having std.common would turn into Bikeshed War III unless it included so many things that it was practically a std.all module anyhow. For example, do regexes belong? I personally tend to prefer plain old string processing for most things and use regexes only when there's a real need. Others tend to prefer regexes as their "default hammer". Does std.math belong? I write lots of math-heavy code, so I'd say yes. People who don't write math-heavy code would probably say no. Does std.date go in? I never use it, but people writing more business-y, less math-y code probably use it all the time.<br>
<br><div class="gmail_quote">On Tue, Jun 8, 2010 at 4:39 PM, Robert Clipsham <span dir="ltr"><<a href="mailto:robert@octarineparrot.com">robert@octarineparrot.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 08/06/10 21:18, Walter Bright wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
Andrei Alexandrescu wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Actually I've generated std.all myself and experimented with it<br>
(attached). The parse time with rdmd is larger than with individual<br>
modules, but not annoying.<br>
<br>
<br>
</blockquote>
<br>
The parse time will invariably grow as phobos grows. I expect std.all<br>
will become the preferred method of using D. The problems are:<br>
<br>
1. People will come to expect std.all to have everything and the kitchen<br>
sink in it, so we're stuck.<br>
<br>
2. People will inevitably do compile speed benchmarks with std.all. And<br>
then we'll suck.<br>
<br>
So I say "no" to std.all.<br>
</blockquote>
<br></div>
Given that it's meant as an easy way to include the commonly used functions etc, rather than all, how about a std.common along side it? Where std.common imports commonly used code by scripts etc, and std.all imports anything that isn't std.common? This way it's the best of both worlds.<div>
<div></div><div class="h5"><br>
<br>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</div></div></blockquote></div><br>