Variables are named using Hungarian Notation. In Hungarian
Notation, the first few letters of a variable's name describes it's
type. This notation is useful while debugging because a programmer
does not need to look at a variable's declaration to know the variable's
type. We have tried to make
the prefixes compatible with common Hungarian Notation and as
intuitive as possible.
All file and directory names should be lower case (preferably without underscores). Source files should end in .cpp and header files should end in .h.
The directory structure of the robocup source files is consistent
with the default settings of KDevelop v2.0.
Function names should start lowercase and then become
uppercase. Function parameters have a preceding underscore (this
may change in the future). The curly braces are on the line after
the function prototype.
Class names should start uppercase and stay uppercase for every
additional world. Class members follow the Hungarian notation.
Try to keep comments to a minimum by coding as clearly as possible
using descriptivComment using the // style unless you are temporarily commenting
out a block of code during debugging. To indicate code segments
that need modification use:
Have questions? Email David Evans