Against deprecating aliases
Christophe
travert at phare.normalesup.org
Thu Sep 29 02:20:39 PDT 2011
Jonathan M Davis , dans le message (digitalmars.D:145653), a écrit :
> Having toUTF and toUTFz is a marked improvement in many cases - especially for
> generic code. They're being added regardless of what the deal with toUTF16z
> is.
>
> The reason that toUTF16z is being removed is essentially because Andrei is
> very much opposed to having functions with specific types in their names and
> thinks that they should all be generic. Personally, I'm not opposed to keeping
> toUTF16z as an alias or wrapper to toUTFz. It's Andrei that seems to feel
> stongly about it. So, if enough people really want to keep toUTF16z, then I
> think that that can happen.
Sure, toWcharz would be a really bad name, but UTF16 is not a specific
type, it is a specific encoding.
--
Christophe
More information about the Digitalmars-d
mailing list