[Issue 9326] writeln to simply show pointed data

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 16 09:54:24 PST 2013


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



--- Comment #7 from bearophile_hugs at eml.cc 2013-01-16 09:54:23 PST ---
(In reply to comment #4)

> What Kenji did was a better printing for ranges in general that is far more
> powerful (and better integrated) then arrays.

Kenji (with help from others) has done many things on the writeln, like
improving string printing, improving array printing, significantly improving
associative array printing (maybe introducing xformat too). And I think he has
added the printing for lazy ranges. He has also improved or added the printing
of struct literals, improved the output in presence of const/immutable,
improved the function literals, and other important details.


> It's good that you answered it already: not everybody needs it yet it requires
> more complex code to be pulled in for everybody. 

That's mostly true for every improvement listed above. There is also
printf/puts.


> Dynamic languages doesn't ever consider cost-to-benefit ratio it seems.

considering how much common they are (and they are becoming) it seems a good
deal. (But they usually don't have chains of raw pointers).

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


More information about the Digitalmars-d-bugs mailing list