std.compress
Jonathan M Davis
jmdavisProg at gmx.com
Wed Jun 5 00:29:49 PDT 2013
On Wednesday, June 05, 2013 00:14:59 Walter Bright wrote:
> When two modules have nothing to do with each other, they should be in
> separate modules.
Except that they're all compression algorithms, so they _are_ related. Having
modules that are only a few hundred lines long is very counterproductive IMHO.
It's highly annoying how Java insists on splitting everything up into different
files. You end up with a lot of small files to wade through. Fortunately, D
doesn't force that, and I don't think that we should go that route by choice.
There's no more reason to split all of these up then there is to put each
algorithm in std.algorithm in its own module. And yes, I know that you like
that idea, but it seems ridiculous to me to try and have only one or two
functions per module. We don't want them to be huge, but having them be very
small is just as harmful IMHO.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list