Skip to content

C4Script Style Guideline

lluchs edited this page Jul 17, 2012 · 3 revisions

Follow OpenClonk's guidelines except:

  • don't put opening braces on a new line
  • keywords (if, while, for, etc.) are not followed by a space
  • use camelCase, but no Hungarian notation for variable names
  • document public functions that might be useful to others (see examples below for documentation format)

Examples

Clone this wiki locally