Clean code #2 Naming

We are doing a lot of naming so we should do it well.
The name should tell why it exists, what it does and how it is used.

Some rules for a good naming:

  • use intention revealing names
  • avoid disinformation (using inconsistent spelling is also disinformation)
  • make meangful distinction
  • use pronounceable names (programming is a social activity)
  • use searcheable names
  • no hungarian notation
  • no member prefixes
  • pick one word per concept
  • don’t use funny names

Clarity is the king – professional programmers understand that, smart programmers may not.