Scriptometer
Tomek Sowiński
just at ask.me
Thu Nov 4 15:09:47 PDT 2010
Dnia 04-11-2010 o 22:13:12 bearophile <bearophileHUGS at lycos.com>
napisał(a):
> But I suggest to not overdo it. Minimizing char count doesn't justify
> writing space-free programs. So I suggest to add spaces and newlines
> where they belong to increase readability a little.
>
>> import std.stdio;
>> void main(){writeln("Hello World");}
>
> import std.stdio;
> void main() {
> writeln("Hello World");
> }
I admit I even wanted to use write, not writeln, to save 2 chars. Hell,
this is WAR; goal justifies means. :-)
--
Tomek
More information about the Digitalmars-d
mailing list