Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 572 Bytes

File metadata and controls

26 lines (16 loc) · 572 Bytes

Coding Style

Goals

  • Keep code readable and easy to maintain
  • Prefer clarity over cleverness

Naming

  • Use descriptive names for variables, functions, and modules
  • Avoid abbreviations unless they are widely recognized

Structure

  • Keep functions focused on one responsibility
  • Split large modules into smaller units by concern

Comments

  • Prefer self-explanatory code
  • Add comments only for non-obvious rationale or business constraints

Formatting

  • Follow language-native formatter and lint rules
  • Keep formatting automated whenever possible