Hi Stuart,
It can be a really subjective thing - you've probably noticed that
some nitpickers

are stricter on variable names than than the instructor's solutions.
I look at it from a readabiliy perspective. And for me, readability goes hand in hand with cognitive load, our brains' "RAM". That is, the more the person reading the code has to "hold on" to what exactly a variable name represents (num means number, len means lentils, oops, I mean length), the less room there is for figuring out other, more important stuff, like how the overall program works. Our brains only have so much "RAM" to work with up there.
And personally, when I see "num" my head tells me "number". See the extra cognitive step in there? Your head has to tell you. Sure it's a trivial little thing in this case, but when you're working on a more complicated program, or when you're debugging any program in the middle of the night, your brain wants as much of its cognitive potential as possible for figuring out the big stuff.
It might be clear to you, but it has to clear for someone else too. Explicit variable names go that extra step to make sure it's clear, even if at the subconscious level. That's what readability means to me.
Actually, I'm always worried about my lines of code getting too long. I'm not sure you need to worry about a few letters making your lines spill over. Is this a personal concern or is it related to the
Style Guide's rule about Maximum Line Length?
Cheers,
Pauline
This just for discussion's sake (watch the feathers fly)... ...soooo, just what
is an "s" in the problem your program is trying to solve?

[ January 16, 2006: Message edited by: Pauline McNamara ]