Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 855 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 855 Bytes

Coding Standards

Order by priority

  • 100 lines / class
  • 5 lines / method
  • 4 params / method
  • 79 characters / line
  • 1 tab indentation / method
  • 1 dot / line
  • Don't use shorten names
  • Don't use else keyword
  • 1 instance variable / Rails view
  • Wrap all primitives and strings
  • 2 names class / Rails controller (business + presenter)
  • Use first class collections
  • Don't use any classes with more than 2 instance variables
  • Don't use setters, getters and properties

Links