Skip to content

Instantly share code, notes, and snippets.

@vsbuffalo
Created August 10, 2012 06:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsbuffalo/3311557 to your computer and use it in GitHub Desktop.
Save vsbuffalo/3311557 to your computer and use it in GitHub Desktop.
The Ten Commandments of Scientific Coding

The Ten Commandments of Scientific Coding

  1. Thou shall use version control.

  2. Thou shall comment thy code.

  3. Thou shall use existing libraries whenever possible.

  4. Thou shall try to unit test.

  5. Thou shall not make up statistical procedures.

  6. Thou shall read code other than thy own.

  7. Thou shall write documentation.

  8. Thou shall beware of floating point issues.

  9. Thou shall write modular code.

  10. Thou shall follow coding standards.

@Vaguery
Copy link

Vaguery commented Aug 10, 2012

In the future, I'd like to see "Thou shalt release comprehensive and formally specified runnable acceptance tests such that thy code may be replicated in another language", but I've never met a scientist who knows anything about Cucumber, so that'll never happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment