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
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Can't contact the database server: Cannot return last error, no db connection)


You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.