Coding Standards

Created By
* **The Coding Standards Task Force** * Andrés Clari * Daniel P. Brown

Based On
* **[|PEAR Coding Standards]** * We follow the PEAR standards except for style specified in this guidelines. * If there is a conflict between the two, the rules in this guide will take precedence. * Used with permission.

Established
03-APR-2010

Last Updated
15-APR-2010

Status
Draft

Introduction
In order to keep the code consistent, please use the following conventions. From here on `good`and `bad` are used to attribute things that would make the coding style match, or not match. It is not a judgement call on your coding abilities, but more of a style and look call. Please try to follow these guidelines to ensure prettiness and usability.

And remember if you have doubts on what's the best way to write something you can always ask any of your co-workers at the [|Journal], and they will be glad to help you with your doubts.

Standards
* Basics * Target Design Platform * Patterns * Naming Conventions * Files * Classes * Functions * Variables * Constants * Namespaces * Code Formatting * Function Declarations * Function and Variable Scope * Commenting * Portability * Operating Systems * Filesystem and Path * Localization * Examples * File Masthead * Class Definition * Comments * See Also