So, to print or not to print?

cym13 via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 26 06:55:16 PDT 2016


On Tuesday, 26 April 2016 at 12:52:13 UTC, Andrei Alexandrescu 
wrote:
> On 04/26/2016 08:18 AM, cym13 wrote:
>> The first questions I expect are "when should I use print and 
>> when use
>> writeln?" for they share a common role with common features.
>
> "When you want spaces between arguments and when you don't".
>
> We've been over this. Nobody asks when they should use writef 
> over writeln or readf over readln (which also share a common 
> role with common features). What precedent do you have of 
> people getting confused like that?
>
>
> Andrei

Well, just the post above your own there's a case of someone who 
didn't expect the separation. I think it makes my point.


More information about the Digitalmars-d mailing list