codingblocks.net Episode 47 – Writing Meaningful Names



  • Names should be meaningful and avoid jokes and puns. 
  • Names should not have single character names unless it is convention such as "i" in a loop. 
  • Names should not be too similar to other names.
  • Names should not include junk works such as info or data.
  • Names should not have data types in the name.
  • Names should not have abbreviations.
  • Names should not have slang
  • Names can have jargon that all in the field would know.
A name is meant to give the developer information about what it is used for and what it contains. Without giving that meaning it cannot be helpful and it will slow development. Worse is if the name canvases the wrong information.

Comments

Popular posts from this blog

First post

Event Driven Model