3 ms·
"You can know the name of a bird in all the languages of the world, but when you're finished, you'll know absolutely nothing whatever about the bird... So let's
by tzs 14y ago
"You can know the name of a bird in all the languages of the world, but when you're finished, you'll know absolutely nothing whatever about the bird... So let's look at the bird and see what it's doing — that's what counts. I learned very early the difference between knowing the name of something and knowing something" -- Richard Feynman
A name serves to remind you what the variable represents, and serves to represent the variable in expressions.
Reminding you of what it represents generally works best with long names--with the major exception that names that follow domain conventions are often better than longer names that do not.
Representing the variable in expressions, on the other hand, often improves with shorter names because longer names make it harder to see the relationships in the expression.
It would be a big improvement, in my opinion, if variable names did not have to be so linear in most languages. I want subscripts and superscripts. That allows effectively longer names without taking up too much extra space and making it harder to see the relationships in an expression.