eliminate writeln et comp?
Georg Wrede
georg.wrede at iki.fi
Tue Mar 17 11:05:04 PDT 2009
Anders F Björklund wrote:
> Andrei Alexandrescu wrote:
>
>> Here's another nice bicycle shed discussion. During the recent
>> discussion about globals being harmful, Walter told me something that
>> made me think. I said, hey, there are things that are global - look at
>> stdout. He said, well, that's a bad thing. He then argued that it
>> would be better and cleaner to write:
>>
>> stdout.writeln("Hello, world");
>>
>> instead of the current:
>>
>> writeln("Hello, world");
>
> I thought the current was printf :-)
>
> Looking at dmd/samples/d/hello.d
LOL
More information about the Digitalmars-d
mailing list