Tango output formatting
ibisbasenji at gmail.com
Thu Jul 12 14:20:11 PDT 2007
> Craig Black wrote:
>> // Tango yuck
>> Stdout("x is ")(x).newline;
> It not at all clear why some folks have latched onto the above syntax as
> some kind of figurehead :)
I think its a factor of a few things.
1) Remembrance of the "whisper" syntax's debut in DSC/Mango. (I can't
actually remember if it was present in DSC before the name change...)
2) The fact that it did somehow end up the common way of using Stdout
for some while (although I personally use .format() more often anymore).
3) A certain long and elaborate discussion about the reliability of call
chaining, where "whisper" became the central case study.
4) The mysteries of human nature. :)
-- Chris Nicholson-Sauls
More information about the Digitalmars-d-learn