Skip to content

Best Practices

Ernest Wong edited this page Mar 20, 2020 · 2 revisions

This project uses the Airbnb JavaScript Style Guide with a maximum line length of 100 characters.

We also observe the following best practices:

  • Commenting and Documentation
  • Consistant Indentation
  • Avoid Obvious Comments
  • Code Grouping
  • Consistant Naming Scheme
  • DRY (Don't Repeat Yourself) Principle
  • Avoid Deep Nesting
  • Limit Line Length
  • File and Folder Organization
  • Consistent Temporary Names
  • Capitalize SQL Special Words
  • Separation of Code and Data
  • Alternate Syntax Inside Templates
  • Object Oriented vs. Procedural
  • Read Open Source Code
  • Code Refactoring

Clone this wiki locally