-
Notifications
You must be signed in to change notification settings - Fork 5
Code Styleguides
If you're writing code in the lab, you should adopt the following principles:
-
Keep it either in a Github repository, or if it's really small or a one-off, in Gist. This seems like a pain, but it's the best way to ensure that new versions are accessible to others in the lab, and that if you leave, we have a record of your work. Ideally, all projects will have READMEs and their code checked into a Git repository, hosted on Github (but don't use track data with Git).
-
Write code for humans: comment and document your code, break code down into modular components, and use the styleguides provided below.
Google has styleguides for some languages we use in the lab:
We also use Perl and C in the lab, but these do not have styleguides.
RILab Wiki
Farm Subwiki
- Farm Information
- How to Use
- Account Set Up
- Data Transfer
- Interactive Use
- Software Installation
- Customization
- Productivity Tips
- Other Tips and Tricks
- Emailing Help
Other Computing Information
Maize
Protocols