Code Style Guide

  • Use tabs of 4 spaces.

  • Try to keep lines of less than 128 characters, for the sake of readability.

  • Never leave trailing whitespace.

  • End each file with a newline so the scanner can easily find the end of file.

  • Use spaces around operators and after commas.

  • Create indentation in blocks.

Last updated