<div dir="ltr">Ah, ok, I suppose that could easily lead to typo-bugs. Ok, then I agree that "a:=f()" returning a is better</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 6, 2018 at 10:53 AM, Eric Fahlgren <span dir="ltr"><<a href="mailto:ericfahlgren@gmail.com" target="_blank">ericfahlgren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_default" style="color:#000000"><span style="color:rgb(34,34,34)">On Fri, Apr 6, 2018 at 7:47 AM, Peter O'Connor </span><span dir="ltr" style="color:rgb(34,34,34)"><<a href="mailto:peter.ed.oconnor@gmail.com" target="_blank">peter.ed.oconnor@gmail.com</a>></span><span style="color:rgb(34,34,34)"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>3) The idea that an assignment operation "a = f()" returns a value (a) is already consistent with the "chained assignment" syntax of "b=a=f()" (which can be thought of as "b=(a=f())"). I don't know why we feel the need for new constructs like "(a:=f())" or "(f() as a)" when we could just think of assignments as returning values (unless that breaks something that I'm not aware of)<br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span></div></div></blockquote></div><br></div></span><div class="gmail_extra"><div class="gmail_default" style="color:rgb(0,0,0)">Consider</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)">>>> if x = 1:</div><div class="gmail_default" style="color:rgb(0,0,0)">>>> print("What did I just do?")</div><br></div></div>
</blockquote></div><br></div>