<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 06/11/2012 12:01, Nick Coghlan
wrote:<br>
</div>
<blockquote
cite="mid:CADiSq7fhGORQF24EiPXnZUJJTP9WxfVDYWFkb1rJWW76aUqaow@mail.gmail.com"
type="cite">
<p>As noted, it's really only counterintuitive if your intuition
is primed to expect C style right to left chained assignments.</p>
<p>Python, on the other hand, is able to preserve primarily left
to right evaluation in this case with only the far right hand
expression needing to be evaluated out of order.</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
It strikes me that a really intuitive language (at least for
Westerners who read left-to-right) would write assignments as<br>
expression --> target<br>
and then the order of assignment in<br>
expression -> target1 -> target2<br>
could be the natural left-to-right one.<br>
[Sorry, this is more appropriate to Python-ideas, but I couldn't
resist adding my 2c.]<br>
Rob Cliffe<br>
<blockquote
cite="mid:CADiSq7fhGORQF24EiPXnZUJJTP9WxfVDYWFkb1rJWW76aUqaow@mail.gmail.com"
type="cite">
<pre wrap="">_______________________________________________
Python-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-Dev@python.org">Python-Dev@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/python-dev">http://mail.python.org/mailman/listinfo/python-dev</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/options/python-dev/rob.cliffe%40btinternet.com">http://mail.python.org/mailman/options/python-dev/rob.cliffe%40btinternet.com</a>
</pre>
</blockquote>
<br>
</body>
</html>