On Wednesday, February 06, 2013 15:12:59 Joseph Rushton Wakeling wrote: > On 02/06/2013 08:56 AM, Don wrote: > > In the "Implementing Half Floats in D" thread, we seemed to have reached a > > consensus on two important points: > > (a) Phobos should have a broad scope (rather than being small like the C > > standard library). > > (b) The current flat structure of Phobos (every module in the root) does > > not scale to hundreds of modules. > > Possibly naive question -- assuming that one has a package of multiple > modules, how does one go about importing the whole package? Seems relevant > if Phobos is to become nested.
There are a couple of DIPS which relate to that (15 and 16 IIRC), but I would point out that in languages which _do_ permit that (e.g. Java), it's fairly common to consider it bad practice and insist on importing every module explicitly. - Jonathan M Davis