Proposal for custom time string formatting in std.datetime

Jonathan M Davis jmdavisProg at gmx.com
Thu Dec 22 21:52:03 PST 2011


On Thursday, December 22, 2011 21:32:17 Walter Bright wrote:
> On 12/22/2011 7:24 PM, Jonathan M Davis wrote:
> > So, it harms usability IMHO to using something like UTCTime instead of
> > SysTime, and just to save yourself the cost of the reference for the
> > time
> > zone?
> 
> No, it's not the cost of the reference. It's the cost of pulling in all the
> code to deal with that reference.

Well, I still dispute that that's a big deal, but regardless, if the issue can 
be solved with PIMPL (as ugly as it may be do so), then at least the difference 
should be hidden from the programmer instead of affecting the API.

- Jonathan M Davis


More information about the Digitalmars-d mailing list