Except for binary machine code, all computer code is intended to be read by humans. Well-written code makes this easy, and coding standards or guidelines help you create well-written code. Here are some guidelines to follow in code written for this course.

[Adapted from coding standards for Roger Peng’s Biostat 776 at Johns Hopkins University.]

Good programming editors will help immensely in following good programming practices.

Some other coding style guides:

Some useful tools: