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?"
Permalink for comment 559038
To read all comments associated with this story, please click here.
RE: Consistency
by jessesmith on Thu 18th Apr 2013 12:06 UTC in reply to "Consistency"
jessesmith
Member since:
2010-03-11

I agree with the part about consistency. Even if another programmer has a very different style from my own it's usually easy to figure out what they are doing if their approach is consistent. I don't really care if another coder uses "iCoins" or "NumOfCoins" or "numberOfCoins" as long as their approach is the same in each block/function.

The code I find hardest to work on is when multiple programmers have hacked on it and each one uses a different style. The code tends to become a mess if consistency isn't maintained.

Reply Parent Score: 2