Improvements to std.string

Adam D. Ruppe destructionator at gmail.com
Sun Jun 12 18:29:02 PDT 2011


Jonathan M Davis wrote:
> Would it be better to rename toStringz to toCString when fixing it

I think it should stay just how it is: toStringz, with a lowercase
z.

The reason is a "stringz" is actually a proper name of sorts -
the z at the end isn't a new word, but part of the first one.
At least that's the way it was in assembly!


Also, it ain't broke. I've sometimes gotten tolower wrong due to
case. I've never made a mistake on toStringz. I'd be surprised if
anyone has.


More information about the Digitalmars-d mailing list