Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 286 Bytes

coding-style.md

File metadata and controls

7 lines (6 loc) · 286 Bytes

Tensil Code Style

  • Use scala format (see .scalafmt.conf)
  • Keep line length less than 80 columns
  • Script in Python 3 (as opposed to Bash or Tcl)
  • Document every method with scaladoc (unless it is strictly private to a class/package)
  • Avoid null (use Scala Option type instead)