Tango 0.95 beta1 released
Lars Ivar Igesund
larsivar at igesund.net
Thu Feb 1 02:15:29 PST 2007
Lionello Lunesu wrote:
> Bill Baxter wrote:
>
>> C) Port while maintaining compatibility -- annoying the poor me who has
>> to deal with incompatibilities in the most basic functions (e.g.
>> toString, writefln)
>
> I too wonder why those were changed. Why not leave them be? What's so
> terrible about toString? It returns a string, doesn't it? Furthermore,
> there's no toUTF16, toUTF32, so what's the point?
>
> Seems like a change for the sake of being different.
>
> L.
This has been argued before on these newsgroups. It is a change for the sake
of consistency and correctness, nothing else, and Walter stated that this
would be a better solution, except that he finds the symbol ugly (!). Tango
does have a String class and I believe it would be misleading to return
d/w/char[] from toString in that case.
--
Lars Ivar Igesund
blog at http://larsivi.net
DSource & #D: larsivi
Dancing the Tango
More information about the Digitalmars-d-announce
mailing list