Polishing D - suggestions and comments

Sean Kelly sean at f4.ca
Wed Jan 30 07:31:53 PST 2008


Don Clugston wrote:
> Kris wrote:
>> "Sean Kelly" <sean at f4.ca> wrote in message
>> news:fnih3r$2vvp$2 at digitalmars.com...
>>> Christopher Wright wrote:
>>>> Tango has a lot more things that hold data than Phobos. Collections and
>>>> datetimes, for instance. Some things it keeps as static struct methods,
>>>> like WallClock.Now, for namespaces. The only thing I've really noticed,
>>>> browsing through the source, is formatting and console IO being
>>>> provided
>>>> by classes. That's about three classes, total, that I've seen that
>>>> could
>>>> be done away with.
>>> They could be wrapped in functions perhaps, but not done away with
>>> entirely.  The formatting code lives in a class because it integrates
>>> with the i8n features in Tango.  However, I think one could argue that
>>> there should be a pre-existing, global formatter instance.
>>
>>
>> (which there is, for utf8)
> 
> If even Sean doesn't know that, then there's *really* an advertising
> problem <g>.

It was a mistake on my part.  Some of the globals were removed a while
back, and I thought that was one of them.  Just goes to show how often
I've needed to do any string formatting recently.  I really should have
checked before posting. :-)


Sean



More information about the Digitalmars-d mailing list