So, to print or not to print?
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 26 09:21:21 PDT 2016
On Tuesday, 26 April 2016 at 15:55:54 UTC, Andrei Alexandrescu
wrote:
> Deja vu all over again. Where's the exchange where that
> argument got destroyed? -- Andrei
Your attempt at destruction bounced off the thick armor of my
superior argument!
Here's your comment from the other thread:
https://github.com/dlang/phobos/pull/3971#issuecomment-183368836
"The way I see it is their charters are different, one is not
better or worse than the other."
You can say exactly the same thing about substr and substring -
their charters are different, one works by index and one by
length! The question is: which one is which? Why is it print that
adds spaces instead of write?
Why is print not to printf what write is to writef?
It is just too similar.
BTW ruby and php have print functions. Neither output spaces...
More information about the Digitalmars-d
mailing list