I made std.time for Phobos, please review my code.

Bernard Helyer b.helyer at gmail.com
Tue Apr 27 20:12:41 PDT 2010


On 28/04/10 02:58, bearophile wrote:
> Steven Schveighoffer:
>> I like what you've done.  It's very similar to what was done in Tango.  I
>> hate to ask this, but I just want to verify that you did not base your
>> code on Tango, especially since you have used Tango.
>
> In D2 the runtime of Phobos and Tango have being merged, so all D programmers can install both libs. So the two libs must have distinct contents.
> So I'm for removing the time module from Phobos, and keep only the Tango one. So this module is waste of time, and efforts have to be redirected in improving or rewriting the time module of Tango.
> Othrwise in D2 it will happen the same mess it's happend in D1, where you have two partially duplicated libs. All D2 programmers will want to install both libs, and they will not desire to choose what time lib to use. One time lit is enough.
>
> Bye,
> bearophile

I take it then, that you are offering to port Tango to D2? That's very 
sporting of you!

If not, then don't speak of using Tango, as it can not be used with D2 
today, and SHOO's std.time can. Which makes std.time vastly more useful 
than Tango's classes. We need a decent date and time module for D2 right 
*now*, not in a speculative future.



More information about the Digitalmars-d-announce mailing list