From these Tigerbeetle/Tigerstlye articles on naming things, some nice little convetions to follow:
- https://tigerstyle.dev/#nouns-and-verbs
- https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/
## Variables
- Append qualifiers to names
- Sort by most significant word (big endian naming)
- Use the same number of characters for related names (e.g. source/target) so they line up in the source.
- Use snake_case
- Don't abbreviate
Prefer Big Endian Naming
connection_delay_ms_min
connection_delay_ms_max
connection_count_max
Rather than Little Endian Naming
min_connection_delay
max_connection_delay
max_connections
## Buffer / array naming
Index 0 Index 1 Index 2 Index 4
|-----------|-----------|-----------|-----------| Count = 4
| | | | | | | | | | | | | | | | |
|-----------|-----------|-----------|-----------| Size = 16 bytes
Offset 0 Offset 4 Offset 8 Offset 12
- Count
The number of things
- Index
To point to an individual thing
- Offset
The byte offset of each thing
- Size
The total bytes