//WaTiR/
CodingConventions


General


* Use four spaces for intentation
* Use lower-case and underscores for method names and local/class variables
* User camel case for class names
* Use modules
* Avoid global variables
* Use single-quotes unless you need to use double-quotes
* user lower-case and underscores for file names (don't use minus)
* line length no more than 80 characters
* use do/end instead of {} when the block is more than one line long.

* Follow the standard ruby conventions

Watir Specific


* Class and method names for objects should be the same as the HTML/DOM/JavaScript standards
* All require paths should be relative to the top of the development hierarchy.

| Email | Reload ? || Find | Recent | Home last update: Sun May 29 2005 08:02 AM