<p dir="ltr"><br>
On Jul 11, 2015 1:40 AM, "Nick Coghlan" <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
> Alternative proposal:<br>
><br>
>     def keep_moving_gravity(self):<br>
>         .y += .gravity<br>
>         .y = max(.y, 0)<br>
>         .y = min(.y, height - 1)</p>
<p dir="ltr">Assuming the parser could be made to handle this (which feels like a big stipulation), this variation would deal with the non-explicit dynamic scoping bug magnets.</p>
<p dir="ltr">It might violate the "looks like grit on Tim's screen" principle, but it is explicit.  I'd only be -0 or -0.5 on this idea.</p>
<p dir="ltr">Since we have Unicode though, how about:</p>
<p dir="ltr">    •y += •gravity</p>
<p dir="ltr">Or</p>
<p dir="ltr">    ∆y += ∆gravity</p>
<p dir="ltr">Guaranteed no parser ambiguity, and some symbols are bigger than grit. In fact, maybe we could get the Unicode Consortium to add a glyph that looked like 'self.' To make it stand out even better.</p>