Programming Coding Standards

Posted by admin on February 6, 2008 under Programming | Comments are off for this article

Coding standards improve communication. Standards mainly include Naming, Formatting and good practices.

Lots of coding standards exist. The selection mainly depends on taste. Pick whatever you like but stick to it and apply it consistently.

Standards Exist for

Computer

  • Class Name – Abstract classes, interfaces, utility classes and so on
  • Variable Names – Temporary variables, Static variables
  • Method Names
  • Enumerations
  • Constants, #defines
  • Ordering of public, private, protected variables and methods
  • Specifying default values

And so on ….

Comments are closed.