* Stage 1 * Finish restructuring, add checkboxes. * Minor format fixes * fixing broken link * fixing broken link * fixing README link * Fix multiples bad links * Fix links in reference/concepts/keywords/README.md * Correcting list description
552 B
552 B
Constants
TODO: ADD MORE
- Avoid "magic numbers", defining instead meaningfully named constants. PEP 8 convention for constants:
UPPER_SNAKE_CASEclock - are not enforced by the runtime, but are used via the convention of
UPPER_CASEto signal that these values are expected to remain unchanged. Preferably, constants are defined at a module level. The example solution uses theUPPER_CASEconvention to define NORTH, SOUTH, EAST, and WEST constants. robot-simulator