Naming Convention (programming) - Potential Benefits

Potential Benefits

Some of the potential benefits that can be obtained by adopting a naming convention include the following:

  • to provide additional information (i.e., metadata) about the use to which an identifier is put;
  • to help formalize expectations and promote consistency within a development team;
  • to enable the use of automated refactoring or search and replace tools with minimal potential for error;
  • to enhance clarity in cases of potential ambiguity;
  • to enhance the aesthetic and professional appearance of work product (for example, by disallowing overly long names, comical or "cute" names, or abbreviations);
  • to help avoid "naming collisions" that might occur when the work product of different organizations is combined (see also: namespaces);
  • to provide meaningful data to be used in project handovers which require submission of program source code and all relevant documentation and
  • to provide better understanding in case of code reuse after a long interval of time.

Read more about this topic:  Naming Convention (programming)

Famous quotes containing the words potential and/or benefits:

    A child is born with the potential ability to learn Chinese or Swahili, play a kazoo, climb a tree, make a strudel or a birdhouse, take pleasure in finding the coordinates of a star. Genetic inheritance determines a child’s abilities and weaknesses. But those who raise a child call forth from that matrix the traits and talents they consider important.
    Emilie Buchwald (20th century)

    In America the young are always ready to give to those who are older than themselves the full benefits of their inexperience.
    Oscar Wilde (1854–1900)