[Tutor] import values, calculate distance
Emile van Sebille
emile at fenx.com
Thu Aug 21 19:30:06 CEST 2014
On 8/21/2014 6:13 AM, Joel Goldstick wrote:> On Wed, Aug 20, 2014 at
10:12 PM, LN A-go-go
> <lnartist at yahoo.com.dmarc.invalid> wrote:
<snip>
> while you can name things like this, good python style (look up
> 'pep8') says this would be better
> id_code, x_coordinate, y_coordinate
>
> But better yet, I think would be to call these things:
> id, x, y
>
Minor nit: better still would be:
code, x, y
so as not to shadow the builtin id
Emile
More information about the Tutor
mailing list