Skip to content
Rob Nagler edited this page Sep 8, 2016 · 1 revision

Form Follows Function

Many people argue about style from an aesthetic point of view. RadiaSoft's coding style is designed to be functional for decades, which usually means "easy to change".

For example, do not indent to match the length of an identifier, rather indent a fixed amount so that globally replacing identifiers doesn't break indentation.

Basics

We use Google Python Coding Style for our Python. Look at pykern.pkexample for a documented sample of RadiaSoft's Python style.

JavaScript is a work in progress, but likely will adapt to Google as well.

To initialize a project repository, see CreatePythonProject.

Clone this wiki locally