You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
George G. Vega Yon edited this page Jan 17, 2017
·
25 revisions
Welcome to the Coding Standards Wiki! The idea of this wiki is to document whatever coding practices should we consider as standards. To contribute, please attain to the follow guidelines:
Coding Standards: Anything that has to do with coding itself so that it's more readable, this includes naming variables, functions, and classes, code indenting, etc.
Software Development:
Coding Standards
The 80 characters rule.
When possible, structure your code as sections/files, with files holding similar functions
and sections to give internal structure to your file.
Use indenting
Explain yourself: Add comments.
Actual coding
Control-flow statements
# If it's only a single likeif (...)
...then...# Several blocksif (...) {
...then...
} else {
...
}
Variable/Objects names
Never use dots to name objects, e.g. my.object
Whenever possible, use informative names, e.g. loglike instead of var1