So, to print or not to print?

Seb via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 26 09:06:27 PDT 2016


On Tuesday, 26 April 2016 at 14:33:42 UTC, tn wrote:
> On Tuesday, 26 April 2016 at 12:52:13 UTC, Andrei Alexandrescu 
> wrote:
>> On 04/26/2016 08:18 AM, cym13 wrote:
>>> [...]
>>
>> "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).
>
> Maybe the name of the function should then be "writes" and/or 
> "writesln" (instead of "print"), so that it can at least be 
> found from the same place in the documentation as other related 
> functions. The naming scheme would then also be consistent with 
> the rest of the write/writef-family. (Here -s stands for 
> "separated/spaced" just as -f stands for "formatted" etc.)

I like the `writes` idea!
Could be a good compromise ;-)


More information about the Digitalmars-d mailing list