Code Style Guidelines

Naming Conventions

  • Use snake_case for variable and function names
  • Class names should be PascalCase
  • Constants are UPPER_SNAKE_CASE
Code Formatting

Formatting Rules

  • Indent with 4 spaces
  • Maximum line length: 80 characters
  • Always use spaces around operators
Indentation

Comments

  • Write clear, concise comments
  • Use // for single-line comments
  • Avoid redundant comments
Comment Icon

For more details about coding standards, please see /Documentation/en/Best_Practices