OO Programming and Data Structures | CS 241

Style Guide

Overview

An important component of software development, especially when working with others, is learning to use a consistent programming style. This is especially important when multiple developers are contributing to the same codebase.

Using a consistent style in a project provides the following benefits:

Style Guides

Most languages have a generally accepted style guide for that language. In addition, many companies have their own software style guides. Learning to follow a style guide is an important skill.

In this course, we will use one of the most popular style guides for Python programming, the Google Python Style guide.

Please take some time to become familiar with the style guide. You may not understand all the components just yet, but most of the basic style rules should make pretty good sense.