Time to split up std.datetime into a package?
Jonathan M Davis
jmdavisProg at gmx.com
Thu Jun 20 12:41:35 PDT 2013
On Thursday, June 20, 2013 21:34:05 Jacob Carlborg wrote:
> On 2013-06-20 17:55, Andrej Mitrovic wrote:
> > As a first step I recommend we separate out unittests into a test module:
> >
> > std\datetime\core.d -- the actual implementation, name it whatever you
> > want
> > std\datetime\package.d -- package module
> > std\datetime\test.d -- unittests
>
> Would it be logical to split the date and time functionality into
> separate modules?
No. The only type which only involves time is TimeOfDay. It might make sense
to put it in its own module if each time point type is put in its own module,
but it's a very small portion of the overall code, so splitting it off by
itself doesn't do much to the module's size at all.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list