http://d.puremagic.com/issues/show_bug.cgi?id=5231


nfx...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfx...@gmail.com


--- Comment #4 from nfx...@gmail.com 2010-11-18 00:56:03 PST ---
(In reply to comment #2)
> void toString() is a fundamentally broken design. It's wrong on many levels.

But it allows more control over formatting and potentially reduces memory
allocation. string toString() seems more broken to me: no control, forces you
to do memory allocation. (Another broken design issue is that _all_ objects in
D have a toString() method, even if it doesn't make sense, but that is
off-topic here.)

What is worrying is that void toString is nowhere documented. Does std.format
use it or what?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to