CSE 154 Code Quality Guide() {

A relatively rational approach to web development for CSE 154 at the University of Washington. Portions of this guide were adapted from Airbnb’s JavaScript Style Guide.

Questions about the guide? We are always looking to improve our resources, feel free to reach out to the course staff with any questions or concerns!

General Guidelines

  1. Comments
  2. Whitespace & Indentation
  3. Long Lines
  4. File Names

Comments

⬆ back to top

Whitespace & Indentation

⬆ back to top

Long Lines

⬆ back to top

File Names

Why? Different operating systems handle letter casing in different ways. Always using lowercase naming keeps our code consistent and prevents broken links on different systems.

⬆ back to top

Contributors

⬆ back to top

};