std.experimental.color, request reviews

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 23 08:29:40 PDT 2015


On Tuesday, 23 June 2015 at 15:24:44 UTC, John Colvin wrote:
> std/range/package.d and std/regex/package.d both have a bunch 
> of stuff in. Why not?

Those are also mistakes (well, probably just semi-migrated from 
the old big module). Suppose you want some of that stuff without 
the rest of the package. How do you get to it?

The biggest benefit of breaking up the big modules is so you can 
access some of it without requiring all of it. But when the part 
you want is in the package.d, you can't get it independently 
anymore; importing that also imports everything else, negating 
the reason it was split up in the first place.


More information about the Digitalmars-d mailing list