User Tools

Site Tools


organization:code_standards

This is an old revision of the document!


SQL - стандарты кодирования

HTML/CSS стандарты кодирования

комментарии в файлах

Стандарты

  1. Use ' instead of “ for strings as default string enclosing. This is a performance issue, and prevents a lot of inconsistent coding styles.
  2. Don't use uninitialized variables. These errors can be avoided by using the built-in isset() function to check whether a variable has been set.

''Examples:

	  	// wrong 
		if ($forum) ...
		
		
		// correct
		if (isset($forum)) ...''
		
organization/code_standards.1441781399.txt.gz · Last modified: (external edit)