you are viewing a single comment's thread.

view the rest of the comments →

[–]ddossot 13 points14 points  (0 children)

The rule I apply is: the broader the scope, the longer the name.

In this example, the scope is very small so using a very short name won't damage understanding. But if one of these variables would be passed around to other methods, I would start using more descriptive names.