Python Newbie

piterrr.dolinski at gmail.com piterrr.dolinski at gmail.com
Sun Feb 24 18:38:49 EST 2013


>> intX = 32                          # decl + init int var
> How is it not obvious that "intX" is an integer *without* the comment?

Indeed the assignment is enough to deduce "intX" is an int. The comment is there to let me know it is unlikely intX appears earlier in the code. Please, let me do things my way until I find reasons to the contrary.

Regarding my use of None to mean NULL, point taken to use "" instead.

Peter



More information about the Python-list mailing list