(No Version Change)

Added coding convention item
This commit is contained in:
inxi-svn 2008-11-15 23:33:03 +00:00
parent 3c6c270e68
commit 82ae968eda

3
inxi
View file

@ -39,11 +39,14 @@
########################################################################
#### CONVENTIONS:
#### Indentation: TABS
#### Do not use `....`, those are totally non-reabable, use $(....)
#### Do not use one liner flow controls. The ONLY time you should use ; is in
#### this single case: if [[ condition ]];then (ie, never: [[ condition ]] && statement)
####
#### All new code/methods must be in a function.
#### For all boolean tests, use 'true' / 'false'. Do NOT use 0 or 1 unless
#### it's a function return. Avoid complicated tests in the if condition itself.
####
#### VARIABLE/FUNCTION NAMING:
#### All variables should explain what they are, except counters like i, j
#### All variables MUST be initialized / declared explicitly