Coding standards

From FUDforum Wiki
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