D component programming is a joke (Was: Re: Component programming)

Jonathan M Davis jmdavisProg at gmx.com
Sat Aug 3 21:53:39 PDT 2013


On Sunday, August 04, 2013 06:20:57 Andre Artus wrote:
> > Bearophile:
> > If not already present this array should go in std.datetime or
> > 
> > core.time:
> >     static immutable string[] monthNames = [
> >     
> >         "January", "February", "March", "April", "May", "June",
> >         "July", "August", "September", "October", "November",
> > 
> > "December"
> > 
> >     ];
> 
> It should probably be picked up from the OS, to support
> localization.

std.datetime has something like that internally for some of what it does (in 
particular, toSimpleString, which I wouldn't even put in there now if I could 
go back), but we explicitly didn't make anything like that public, because 
it's English-specific.

- Jonathan M Davis


More information about the Digitalmars-d mailing list