Rename std.string.toStringz?

Adam D. Ruppe destructionator at gmail.com
Thu Jun 16 09:21:06 PDT 2011


Jonathan M Davis  wrote:
> I'm afraid that I don't understand this view at all, given that
> string is a word and stringz isn't, though there are a few people
> that have expressed this view now.

If we had a function for to!ulong in this style, would you call it
toULong or toUlong?

I'd expect the latter - the word is "ulong", a single unit,
not "U Long".

D1 also did it this way:
http://digitalmars.com/d/1.0/phobos/std_conv.html


More information about the Digitalmars-d mailing list