Here are a few questions to help you clarify your understanding of good style in both coding and user interface design.
Indent one level between matched curly braces: |{ | -->|~~~~~~~~ | |~~~~~~~~ | |~~~~~~~~ |}
TRUE✓ | FALSE✗ | We like placing spacing around operators to lessen the cramped-ness of our code. |
---|
TRUE✓ | FALSE✗ | Blank lines are used also in the output of a program to logically separate sections of the interface (input, output, etc.). | ||
---|---|---|---|---|
TRUE✓ | FALSE✗ | This makes it easier for the user to detect a change in the program's status. |