Are short identifiers bad?

Posted by Daniel C. Sobral on Programmers See other posts from Programmers or by Daniel C. Sobral
Published on 2010-12-06T11:21:31Z Indexed on 2011/01/06 19:59 UTC
Read the original article Hit count: 416

Filed under:

Are short identifiers bad? How does identifier length correlate with code comprehension? What other factors (besides code comprehension) might be of consideration when it comes to naming identifiers?

Just to try to keep the quality of the answers up, please note that there is some research on the subject already!

Edit

Curious that everyone either doesn't think length is relevant or tend to prefer larger identifiers, when both links I provided indicate large identifiers are harmful!

© Programmers or respective owner

Related posts about best-practices