toString vs. toUtf8

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Nov 20 06:31:16 PST 2007


"Kris" <foo at bar.com> wrote in message news:fhtru8$1no5$1 at digitalmars.com...
> "Sean Kelly" <sean at f4.ca> wrote in message
> [snip]
>>> Don't know if that hurts your eyes less or not, but it seems more 
>>> consistent with Tango's existing naming convention to me than toWString, 
>>> etc.
>>
>> Yeah I was thinking the same thing.  It's certainly easier for me to read 
>> than the other form.
>
>
> Bill: actually, toString, toStringW and toStringD are more consistent with 
> themselves, and with Tango convention. Even toString, toString16 and 
> toString32 are significantly more style-consistent than toWString and 
> toWstring
>

Now that I've seen toWString and toStringW, I'll have to say I do like the 
toStringW/toStringD version better.

// retract previous votes
toWString.votes -= 8;
toDString.votes -= 8;

toStringW.votes += 334;
toStringD.votes += 334; 





More information about the Digitalmars-d mailing list