Style Standards

Consistency is one of our goals for development and that is the reason why we need standards. Common standards must be applied to all other more specific standards if any rule is not overridden. Following these rules, there will be automatic checking tool to report any rule violations.

Common Standards

  1. Line length limit must be within 100 characters (80 characters limit is recommended)
  2. 4 spaces for indentation; no tab character is allowed
  3. No trailing whitespace
  4. An empty newline at the end of file

Document Standards

C/C++ Coding Standards

JavaScript Coding Standards

HTML, CSS Coding Standards

Ruby Coding Standards

PHP Coding Standards

Objective C Coding Standards

XML Coding Standards