Coding standards

From FUDforum Wiki
Revision as of 21:08, 17 September 2011 by Naudefj (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page documents FUDforum's coding standards:

Single vs double quotes

Always use singe quote.

Instead of

$around="around";

use

$around='around';

String concatenation

echo 'What goes '. $around .',comes '. $around ."\n";

Documenting functions

All functions should have in-line documentation.

Languages
Personal tools