Style Guide for Disco Code

This document contains the coding conventions for the Disco codebase.

Erlang

Unless otherwise specified, Erlang Programming Rules apply.

Also, the use of -spec annotations and Dialyzer is highly recommended before checking in commits.

Python

Unless otherwise specified, guidelines from PEP 8 apply.

Documentation

  • inline with code when possible