Proposal request: explicit propreties

Derek Parnell derek at psych.ward
Tue Apr 1 14:05:26 PDT 2008


On Tue, 1 Apr 2008 14:53:33 -0400, Steven Schveighoffer wrote:

> Stdout("hello").newline()("world").newline;

> ... using it in this way is pretty clear (and convenient).

?!Clear?! I haven't a clue what that code is supposed to be doing!

Is it ...

   Send "hello" to stdout.
   Send newline to stdout.
   Send "world" to stdout.
   Send newline to stdout.

If so, then the example is clear as mud. I think I prefer ...

   Stdout("hello", newline, "world", newline);

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list