-
Notifications
You must be signed in to change notification settings - Fork 7
CodingStyle
Rob Nagler edited this page Sep 8, 2016
·
1 revision
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.
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.