1. Introduction
  2. 1. Formatting
    1. 1.1. Style
    2. 1.2. Naming
  3. 2. Language
    1. 2.1. Import/Export
    2. 2.2. Macros
    3. 2.3. Object construction
    4. 2.4. ref object
    5. 2.5. Memory
    6. 2.6. Variable declaration
    7. 2.7. Variable initialization
    8. 2.8. Procedures
    9. 2.9. Methods
    10. 2.10. proc types
    11. 2.11. result return
    12. 2.12. inline
    13. 2.13. Converters
    14. 2.14. Finalizers
    15. 2.15. Binary data
    16. 2.16. Integers
    17. 2.17. range types
    18. 2.18. string
  4. 3. Error handling
    1. 3.1. Result
    2. 3.2. Exceptions
    3. 3.3. Status codes
    4. 3.4. Callbacks
  5. 4. Libraries
    1. 4.1. std usage
    2. 4.2. Results
    3. 4.3. Hex output
    4. 4.4. Wrappers
    5. 4.5. stew
  6. 5. Tooling
    1. 5.1. Nim version
    2. 5.2. Build
    3. 5.3. Dependencies
    4. 5.4. Editors
    5. 5.5. Debugging
    6. 5.6. Profiling
    7. 5.7. Tricks
  7. 6. Interop with other languages
    1. 6.1. C / general wrapping
    2. 6.2. go
    3. 6.3. rust

The Status Nim style guide

Tooling

Found a bug? Edit this page on GitHub.