Files
python/reference/concepts/constants.md
Michael Morehouse 29478dd68c Organize concepts, eliminate duplication
* 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
2021-01-29 11:14:36 -05:00

552 B

Constants

TODO: ADD MORE

  • Avoid "magic numbers", defining instead meaningfully named constants. PEP 8 convention for constants: UPPER_SNAKE_CASE clock
  • are not enforced by the runtime, but are used via the convention of UPPER_CASE to signal that these values are expected to remain unchanged. Preferably, constants are defined at a module level. The example solution uses the UPPER_CASE convention to define NORTH, SOUTH, EAST, and WEST constants. robot-simulator