Part I. Programming Guidelines
Prev
LiveJournal
Programming
Next
Part I. Programming Guidelines
Content that goes into
SVN
needs to follow these guidelines:
Table of Contents
1.
General Guidelines
1.
Key points to remember
2.
Trailing whitespace
3.
Best Practices: Functions
4.
Perl Style
2.
Working with the Sources
3.
Team Player Guidelines
1.
Be a good camper
2.
Nearby Code
3.
Return early when possible
4.
Security
5.
Database
6.
Performance & Scalability
7.
Coding Specifics
1.
Accessor names
2.
if, unless, else
3.
Ternary Operator
8.
Patches
9.
Focus on the broad picture
1.
Don't hard-code
URL
s in translation strings
2.
Deleting and changing translation strings
3.
Be smart to site schemes
10.
Internationalization
1.
Removing hard-coded English text
2.
The /translate/ system - English-stripping