Coding standards - fmsbeekmans/jest GitHub Wiki

Code Standards

We will use Clojure's [Library Coding standards] (http://dev.clojure.org/display/design/Library+Coding+Standards). Especially note the lazyness, naming conventions, usage of earmuffs and docstrings, destructuring and binding forms. Some other conventions:

  • Comment block per file
  • Indent by spaces
  • Max 80 chars per line
  • Functions should have 1 specific goal.

Additional naming conventions:

  • Separate words by hyphen (-).
  • Use Java naming conventions in Java interop.

Break conventions where useful.