<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-05-23 9:05 GMT+03:00 Terry Reedy <span dir="ltr"><<a href="mailto:tjreedy@udel.edu" target="_blank">tjreedy@udel.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 5/22/2018 5:32 PM, Kirill Balunov wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Just one more variation on "assignment exression" syntax to make the list more complete :) Sorry, if something similar has already been suggested. The idea is to use function's call-like syntax in the from: `this( name = expr )`.<br>
</blockquote>
<br></span>
Functions names should be verbs. For this one, 'bind' or even better, 'let' as in 'let(name=expr)'</blockquote><div><br></div><div>It only looks like a function call, but in fact it should be an _magic object_ that can on the call bind a name to an expression in the current local scope. I chose `<font face="monospace, monospace">this</font>` because in my opinion it is easily perceived: `<font face="monospace, monospace">while this( name = expr</font> ) > 0` can be readed as "While this name assigned to an expression is greater than zero do..." the same interpretation for `if` statement. </div><div><br></div><div>With kind regards,</div><div>-gdg</div></div></div></div>