On Thu, Dec 20, 2012 at 8:37 PM, Pierre Quentel
<pierre.quen...@gmail.com> wrote:
> I'm afraid I am going to disagree. The document is a tree structure, and 
> today Python doesn't have a syntax for easily manipulating trees. To add a 
> child to a node, using an operator instead of a function call saves a lot of 
> typing ; <= looks like a left arrow, which is a visual indication of the 
> meaning "receive as child". |= doesn't have this arrow shape

This is the reasoning that gave us the C++ stdio system, where:

cout << "Hello, world!\n";

is the way to make console output. Quite frankly, I don't like it;
when I write C++ code, I use printf same as in C. I'd much rather work
with methods than with operators that try to look like the flowing of
data, but actually have a quite different meaning.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to