Robowiki:Guidelines for Code Snippets

From Robowiki
Revision as of 06:03, 14 November 2007 by Voidious (talk | contribs) (→‎Style guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a stub. You can help RoboWiki by expanding it.

This page lists guidelines for writing code snippets. These are not hard-and-fast rules, but following them may enhance the readability and consistency of the wiki.

Style guidelines

  • Wherever possible, use radians instead of degrees.
  • Try to keep the width to a reasonable amount, since it won't wrap lines in preformatted areas. In a text editor, 80 columns is generally a good rule of thumb.