eliminate writeln et comp?
Georg Wrede
georg.wrede at iki.fi
Tue Mar 17 11:55:54 PDT 2009
Andrei Alexandrescu wrote:
...
> 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");
int x;
I suggest we forbid int totally. It is too [insert something here], and
it is ambiguous, strictly speaking.
So forbid it, and force the programmer to explicitly specify signed or
unsigned, every single time. It would be better and cleaner.
More information about the Digitalmars-d
mailing list