Naming

Choice of names for methods, variables, class, module, constant names, anything should be meaningful and consistent.

  • Use full words (avoid single character names e)
  • Deconstrutive methods end with !
  • Predicate method end with ?
  • Method name action-object: copy-file, print-tree
  • Arguments named by type or purpose (hash or subtree)