Category:Snippets: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (category & restrictive page naming not necessary)
Line 1: Line 1:
This is a collection of bits of code thats not enough for a tutorial.
This is a collection of bits of code that are not enough for a tutorial.


Guidelines for Snippets:
Guidelines for code snippets:
*Should be short
* Should be short
*Easy to understand
* Easy to understand
*Have an explanation of what it does
* Have an explanation of what it does
*All new pages should have _snippet on the end.


If it doesn't fit into those guidelines it should be a tutorial!
If it doesn't fit into these guidelines it should be a tutorial!
 
[[Category:Programming]]

Revision as of 15:47, 18 February 2008

This is a collection of bits of code that are not enough for a tutorial.

Guidelines for code snippets:

  • Should be short
  • Easy to understand
  • Have an explanation of what it does

If it doesn't fit into these guidelines it should be a tutorial!