"Temporary" Variable
Jeffrey Schwab
jeff at schwabcenter.com
Thu Feb 23 19:24:25 EST 2006
Steven D'Aprano wrote:
> On Thu, 23 Feb 2006 12:05:59 -0800, darthbob88 wrote:
>
> My comments inserted inline.
>
>
>
>>#!/usr/bin/python
>>#simple guessing game, with numbers
>>import random
>>spam = random.randint(1, 100)
>
>
> It is bad programming practice to give variables uninformative joke names.
Lighten up. This isn't the middle of a 100-KLOC corporate monstrosity,
it's a 1/2-page usenet post.
More information about the Python-list
mailing list