| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Social distancing? Try a better way to work remotely on your online files. Dokkio, a new product from PBworks, can help your team find, organize, and collaborate on your Drive, Gmail, Dropbox, Box, and Slack files. Sign up for free.

View
 

RulesOfThumb

Page history last edited by PBworks 11 years, 9 months ago

Variables:

 

use variables whose name-length is proportional to the size of their scope: the longer the scope, the longer the name (more detailed).

 

But don't use single-char names (they are hard to find/replace later if you need to): use "for ii in range(10)" for loop where you don't care about the variable, but name it if you plan to use it.

Comments (0)

You don't have permission to comment on this page.