On 2013-02-15 10:14, Jonathan M Davis wrote:
Tests are over half of it, and the documentation is probably around half of
what's left after that, and those tests are critical. As simple as much of the
code is, it's ridiculously easy to get stuff wrong when it comes to corner
cases. And it's doing a _lot_ more than getting the time. So, for the most
part, I think that it merits being as large as it is. It's the fact that it's
all in one module that's the problem (and it was actually split in my original
proposal, but I split it badly, and I was told to put it back together again.
It also changed quite a lot over the course of the review).
I _would_ like to split it up though. But I'm not going to do it until some
variant of DIP 15 or 16 is implemented so that it can be split up in place
without breaking any code.
The easy solution would be to have the tests in its own module, in its
own directory structure. But that's a no no since apparently "tests in D
are supposed to be inline".
--
/Jacob Carlborg