Improvements to std.string

Michael Chen sth4nth at gmail.com
Mon Jun 13 07:41:14 PDT 2011


I vote for the changes. They are better name for newbies like me.

On Mon, Jun 13, 2011 at 9:29 AM, Adam D. Ruppe
<destructionator at gmail.com> wrote:
> 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