-
Notifications
You must be signed in to change notification settings - Fork 0
Coding Standards
huertanix edited this page Sep 24, 2010
·
4 revisions
We have some simple rules for coding in this project, and here they be:
- camelCase for variable and function names
- Variables and functions that use a search engine name should abbreviate the probably copyrighted search engine name to its first letter; e.g. “gUrl, yTerms”
- .htm, not .html, because IEEE
HTML 5 for new development- JavaScript still runs slow and we’re doing crazy stuff with it, so code for optimization, but keep things relatively readable
- Pretend you’re writing Python when dealing with whitespace
- Forget IE6 and browsers that can’t run GS, since this is already not going to work for them