Linked by MOS6510 on Wed 17th Apr 2013 21:20 UTC
General Development "You often hear about how important it is to write 'readable code'. Developers have pretty strong opinions about what makes code more readable. The more senior the developer, the stronger the opinion. But, have you ever stopped to think about what really makes code readable?"
Thread beginning with comment 559023
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Comment by lucas_maximus
by r_a_trip on Thu 18th Apr 2013 10:01 UTC in reply to "Comment by lucas_maximus"
r_a_trip
Member since:
2005-07-06

I didn't get this either. What is so baffling about NumberOfCoins?

It's a Number. It represents Coins.

X or Number are far more confusing. What is X supposed to be? You'd have to look at the assignment itself (if it wasn't declared up front). Never mind what it represents.

Number is a bit better, but you'd still have to look elsewhere to find out what it represents.

Before anyone claims I'm a versed programmer, I'm fairly good at Excel automation with VBA scripting, but that's it.

Reply Parent Score: 3