The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Difference between revisions of "Coding conventions"
From The Powder Toy
Jump to:
navigation
,
search
Revision as of 19:24, 28 September 2011
(
view source
)
(
talk
)
Revision as of 19:24, 28 September 2011
(
view source
)
Simon
(
talk
|
contribs
)
m
(1 revision)
Newer edit →
(No difference)
Revision as of 19:24, 28 September 2011
Coding Conventions </h2> If you want your source to be taken seriously, it would be a good idea to follow these conventions closely.
Do not use camelCase, use an underscore (_) instead for your function and variable names
Use 4 spaces for indentation. Do not use Tabs.
Always use the latest source
Use // for single line comments, use /* */ for block comments
Navigation menu
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Personal tools
Navigation
Main page
Recent changes
Random page
Help
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information