Robowiki:Guidelines for Code Snippets

From Robowiki
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.