Super-dee-duper D features

Michiel nomail at hotmail.com
Wed Feb 14 12:19:25 PST 2007


> And we should keep on frowning on attempts to use overloaded << for I/O
> purposes <g>.

Why? I think it's intuitive. The arrows point from the source of the message to
the destination. Should the operator only be used for shifting because that
happens to have been its first purpose?

I also like how you can send a message to an abstract object. And that can be a
cout, a cerr, an error console in a GUI, or something else. Same thing the other
way around.



More information about the Digitalmars-d mailing list