Quote:
Originally Posted by Crow
But I like to use temp.var, because I dont want to think up a variable name for things like that, and stuff like temp.v is too short I think.
|
PHP Code:
for (temp.var: temp.list)
{
//
}
... is not as clear as, say:
PHP Code:
for (temp.needle: temp.haystack)
{
//
}
PHP Code:
for (temp.user: temp.userlist)
{
//
}
PHP Code:
for (temp.player: allplayers)
{
//
}
Just little things like naming variables properly can completely change the semantic value of your code.